a = int(input()) b = int(input()) c = int(input()) height = [a,b,c] height2 = sorted(height, reverse = True) for i in height2: print(i)