n = list()

for var in range(0,10):
	n.append(int(input()))

n.sort(reverse=True)

for i in n[:3]:
	print(i) n = list() n list() list for var in range(0,10):
	n.append(int(input())) var range(0,10) range 0 10 n.append(int(input())) n.append n append int(input()) int input() input n.sort(reverse=True) n.sort n sort reverse=True reverse True for i in n[:3]:
	print(i) i n[:3] n :3 3 print(i) print i n = list() list() n
n = list()

for var in range(0,10):
	n.append(int(input()))

n.sort(reverse=True)

for i in n[:3]:
	print(i)