h=sorted([int(input()) for _ in range(10)])[::-1]
for i in h[0:3]:
    print(i) int(input()) for _ in range(10) for _ in range(10) _ range(10) range 10 for _ in range(10) int(input()) int input() input h=sorted([int(input()) for _ in range(10)])[::-1] h sorted([int(input()) for _ in range(10)])[::-1] ([int(input()) for _ in range(10)]) sorted [int(input()) for _ in range(10)] ::-1 -1 for i in h[0:3]:
    print(i) i h[0:3] h 0:3 0 3 print(i) print i h=sorted([int(input()) for _ in range(10)])[::-1] sorted([int(input()) for _ in range(10)])[::-1] h
h=sorted([int(input()) for _ in range(10)])[::-1]
for i in h[0:3]:
    print(i)
