a=[]
for i in range(10):a.append(int(input()))
a.sort()
print(a[9],a[8],a[7],sep='\n'); a=[] a [] for i in range(10):a.append(int(input())) i range(10) range 10 a.sort() a.sort a sort print(a[9],a[8],a[7],sep='\n') print a[9] a 9 a[8] a 8 a[7] a 7 sep='\n' sep '\n' a=[] [] a
a=[]
for i in range(10):a.append(int(input()))
a.sort()
print(a[9],a[8],a[7],sep='\n');