#! /usr/bin/python3

m=[int(input()) for i in range(10)]
m.sort()
m.reverse()
print("{0}\n{1}\n{2}".format(m[0], m[1], m[2])) 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 m=[int(input()) for i in range(10)] m [int(input()) for i in range(10)] m.sort() m.sort m sort m.reverse() m.reverse m reverse print("{0}\n{1}\n{2}".format(m[0], m[1], m[2])) print "{0}\n{1}\n{2}".format(m[0], m[1], m[2]) "{0}\n{1}\n{2}".format "{0}\n{1}\n{2}" format m[0] m 0 m[1] m 1 m[2] m 2 m=[int(input()) for i in range(10)] [int(input()) for i in range(10)] m
#! /usr/bin/python3

m=[int(input()) for i in range(10)]
m.sort()
m.reverse()
print("{0}\n{1}\n{2}".format(m[0], m[1], m[2]))