array=[int(input()) for i in range(10)]
array.sort()
num = len(array)
for i in range(num-1,num-4,-1):
    print(array[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 array=[int(input()) for i in range(10)] array [int(input()) for i in range(10)] array.sort() array.sort array sort num = len(array) num len(array) len array for i in range(num-1,num-4,-1):
    print(array[i])  i range(num-1,num-4,-1) range num-1 num 1 num-4 num 4 -1 print(array[i]) print array[i] array i num = len(array) len(array) num array=[int(input()) for i in range(10)] [int(input()) for i in range(10)] array
array=[int(input()) for i in range(10)]
array.sort()
num = len(array)
for i in range(num-1,num-4,-1):
    print(array[i]) 