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