myList = []
for i in range(0,10):
	myList.append(int(input()))

myList.sort()
myList.reverse()

print(myList[0])
print(myList[1])
print(myList[2]) myList = [] myList [] for i in range(0,10):
	myList.append(int(input())) i range(0,10) range 0 10 myList.append(int(input())) myList.append myList append int(input()) int input() input myList.sort() myList.sort myList sort myList.reverse() myList.reverse myList reverse print(myList[0]) print myList[0] myList 0 print(myList[1]) print myList[1] myList 1 print(myList[2]) print myList[2] myList 2 myList = [] [] myList
myList = []
for i in range(0,10):
	myList.append(int(input()))

myList.sort()
myList.reverse()

print(myList[0])
print(myList[1])
print(myList[2])