s=[int(input()) for x in range(10)]
print(sorted(s)[-1])
print(sorted(s)[-2])
print(sorted(s)[-3]) int(input()) for x in range(10) for x in range(10) x range(10) range 10 for x in range(10) int(input()) int input() input s=[int(input()) for x in range(10)] s [int(input()) for x in range(10)] print(sorted(s)[-1]) print sorted(s)[-1] (s) sorted s -1 print(sorted(s)[-2]) print sorted(s)[-2] (s) sorted s -2 print(sorted(s)[-3]) print sorted(s)[-3] (s) sorted s -3 s=[int(input()) for x in range(10)] [int(input()) for x in range(10)] s
s=[int(input()) for x in range(10)]
print(sorted(s)[-1])
print(sorted(s)[-2])
print(sorted(s)[-3])