print(*sorted([int(input()) for _ in [0]*10])[:6:-1], sep="\n") int(input()) for _ in [0]*10 for _ in [0]*10 _ [0]*10 [0] 0 10 for _ in [0]*10 int(input()) int input() input print(*sorted([int(input()) for _ in [0]*10])[:6:-1], sep="\n") print *sorted([int(input()) for _ in [0]*10])[:6:-1] sorted([int(input()) for _ in [0]*10])[:6:-1] ([int(input()) for _ in [0]*10]) sorted [int(input()) for _ in [0]*10] :6:-1 6 -1 sep="\n" sep "\n"
print(*sorted([int(input()) for _ in [0]*10])[:6:-1], sep="\n")