Бездетко Герман Максимович
22.01.2020 13:08 (102 д. 03:00) [3122696]
x = list(map(int,input().split(' '))) print (' '.join(map(str,(x[:2] + x[2:-2][::-1] + x[-2:]))))