Бугай Анна Викторовна
18.01.2020 23:26 (98 д. 13:18) [3097232]
parts = input().split() print(*parts[:2], *reversed(parts[2:-2]), *parts[-2:])