height_list = [int(input()) for i in range(10)]
for i in range(1,4): print(sorted(height_list)[-i]) 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 height_list = [int(input()) for i in range(10)] height_list [int(input()) for i in range(10)] for i in range(1,4): print(sorted(height_list)[-i]) i range(1,4) range 1 4 height_list = [int(input()) for i in range(10)] [int(input()) for i in range(10)] height_list
height_list = [int(input()) for i in range(10)]
for i in range(1,4): print(sorted(height_list)[-i])