a = [input() for i in range(10)]
a.sort(reverse=True)
print a[0]
print a[1]
print a[2] input() for i in range(10) for i in range(10) i range(10) range 10 for i in range(10) input() input a = [input() for i in range(10)] a [input() for i in range(10)] a.sort(reverse=True) a.sort a sort reverse=True reverse True print a[0] a 0 print a[1] a 1 print a[2] a 2 a = [input() for i in range(10)] [input() for i in range(10)] a
a = [input() for i in range(10)]
a.sort(reverse=True)
print a[0]
print a[1]
print a[2]