Колганов Николай Андреевич
12.10.2019 11:50 (1:43) [2714789]
print(sorted(input().split(), key=lambda i : i[1]))