s = [int(input()) for i in range(10)]
s.sort(reverse = True)
for i in s[:3]:
    print(i) int(input()) for i in range(10) for i in range(10) i range(10) range 10 for i in range(10) int(input()) int input() input s = [int(input()) for i in range(10)] s [int(input()) for i in range(10)] s.sort(reverse = True) s.sort s sort reverse = True reverse True for i in s[:3]:
    print(i) i s[:3] s :3 3 print(i) print i s = [int(input()) for i in range(10)] [int(input()) for i in range(10)] s
s = [int(input()) for i in range(10)]
s.sort(reverse = True)
for i in s[:3]:
    print(i)
