Стрелов Глеб Сергеевич
12.10.2019 19:54 (2:16) [2720256]
print(' '.join([str(int(i)**2) for i in input().split()[::-1] if int(i) > 0]))