li = sorted([int(input()) for i in range(10)], reverse=True)
print("\n".join(map(str, li[:3]))) 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 li = sorted([int(input()) for i in range(10)], reverse=True) li sorted([int(input()) for i in range(10)], reverse=True) sorted [int(input()) for i in range(10)] reverse=True reverse True print("\n".join(map(str, li[:3]))) print "\n".join(map(str, li[:3])) "\n".join "\n" join map(str, li[:3]) map str li[:3] li :3 3 li = sorted([int(input()) for i in range(10)], reverse=True) sorted([int(input()) for i in range(10)], reverse=True) li
li = sorted([int(input()) for i in range(10)], reverse=True)
print("\n".join(map(str, li[:3])))