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