mountains = [int(input()) for _ in range(10)]

for height in sorted(mountains)[-3:][::-1]:
    print(height) int(input()) for _ in range(10) for _ in range(10) _ range(10) range 10 for _ in range(10) int(input()) int input() input mountains = [int(input()) for _ in range(10)] mountains [int(input()) for _ in range(10)] for height in sorted(mountains)[-3:][::-1]:
    print(height) height sorted(mountains)[-3:][::-1] [-3:] (mountains) sorted mountains -3: -3 ::-1 -1 print(height) print height mountains = [int(input()) for _ in range(10)] [int(input()) for _ in range(10)] mountains
mountains = [int(input()) for _ in range(10)]

for height in sorted(mountains)[-3:][::-1]:
    print(height)