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