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