Анисимов Сергей Александрович
09.12.2019 17:23 (58 д. 07:16) [2942276]
print(*list(int(i) ** 2 for i in input().split()[::-1] if int(i) > 0))