Уваров Егор Александрович
12.10.2019 11:02 (0:55) [2713968]
print(*[int(i)**2 for i in input().split()[-1::-1] if int(i) > 0])