rank = sorted([int(input()) for i in range(10)], reverse=True)
print('\n'.join(map(str, rank[:3]))) 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 rank = sorted([int(input()) for i in range(10)], reverse=True) rank sorted([int(input()) for i in range(10)], reverse=True) sorted [int(input()) for i in range(10)] reverse=True reverse True print('\n'.join(map(str, rank[:3]))) print '\n'.join(map(str, rank[:3])) '\n'.join '\n' join map(str, rank[:3]) map str rank[:3] rank :3 3 rank = sorted([int(input()) for i in range(10)], reverse=True) sorted([int(input()) for i in range(10)], reverse=True) rank
rank = sorted([int(input()) for i in range(10)], reverse=True)
print('\n'.join(map(str, rank[:3])))