Куцелабский Егор
12.10.2019 11:44 (1:36) [2714709]
print(*sorted(input().split(), key = lambda x: x[1]))