Батраков Артём Глебович
12.10.2019 12:15 (2:08) [2714963]
print(" ".join(str(int(i)**2) for i in input().split()[::-1] if int(i) > 0))