Ляхута Никита Игоревич
04.11.2019 23:06 (23 д. 12:58) [2777232]
a = input().split() a.sort(key= lambda s: s[1]) print(' '.join(a))