Леденев Дмитрий Игоревич
05.11.2019 14:56 (24 д. 04:49) [2777896]
a = input().split() a.sort(key=lambda x: x[1]) print(' '.join(a)