Дятлов Артём Максимович
21.01.2020 23:33 (101 д. 13:25) [3117476]
print(*[int(i)**2 for i in input().split()[::-1] if int(i) > 0])