Ахрамеев Дмитрий Викторович
22.01.2020 20:52 (102 д. 10:45) [3134279]
res = input().split() res.sort(key=lambda x: x[1]) print(' '.join(res))