a=[int(input()) for i in range(10)]
a.sort()
a.reverse()
print(a[0])
print(a[1])
print(a[2]) 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 a=[int(input()) for i in range(10)] a [int(input()) for i in range(10)] a.sort() a.sort a sort a.reverse() a.reverse a reverse print(a[0]) print a[0] a 0 print(a[1]) print a[1] a 1 print(a[2]) print a[2] a 2 a=[int(input()) for i in range(10)] [int(input()) for i in range(10)] a
a=[int(input()) for i in range(10)]
a.sort()
a.reverse()
print(a[0])
print(a[1])
print(a[2])