lst = list(map(int, input().split())) a = [] for i in lst: if i > 0: i = i**2 a.append(i) a.sort(reverse=True) print(a)