mounts = [int(input()) for i in range(1,11)]
mounts.sort()
print(mounts.pop())
print(mounts.pop())
print(mounts.pop()) int(input()) for i in range(1,11) for i in range(1,11) i range(1,11) range 1 11 for i in range(1,11) int(input()) int input() input mounts = [int(input()) for i in range(1,11)] mounts [int(input()) for i in range(1,11)] mounts.sort() mounts.sort mounts sort print(mounts.pop()) print mounts.pop() mounts.pop mounts pop print(mounts.pop()) print mounts.pop() mounts.pop mounts pop print(mounts.pop()) print mounts.pop() mounts.pop mounts pop mounts = [int(input()) for i in range(1,11)] [int(input()) for i in range(1,11)] mounts
mounts = [int(input()) for i in range(1,11)]
mounts.sort()
print(mounts.pop())
print(mounts.pop())
print(mounts.pop())