Костыркина Вероника Вадимовна
08.11.2019 03:16 (26 д. 17:08) [2782801]
print( ' '.join([str(int(i)**2) for i in reversed(str(input()).split()) if int(i)>0]))