l = sorted([input() for x in xrange(10)], reverse=True)
for h in l[:3]:
    print h input() for x in xrange(10) for x in xrange(10) x xrange(10) xrange 10 for x in xrange(10) input() input l = sorted([input() for x in xrange(10)], reverse=True) l sorted([input() for x in xrange(10)], reverse=True) sorted [input() for x in xrange(10)] reverse=True reverse True for h in l[:3]:
    print h h l[:3] l :3 3 print l = sorted([input() for x in xrange(10)], reverse=True) sorted([input() for x in xrange(10)], reverse=True) l
l = sorted([input() for x in xrange(10)], reverse=True)
for h in l[:3]:
    print h