Протасов Сергей
18.10.2019 23:20 (6 д. 13:12) [2728034]
for x in sorted(input().split(), key=lambda x: x[1]): print(x, end=' ')