Чернов Дмитрий Дмитриевич
08.01.2020 09:59 (87 д. 23:51) [3022425]
(lambda x: print(" ".join(x[:2]+x[-3:1:-1]+x[-2:])))(input().split())