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