import sys
heights = [int(i) for i in sys.stdin.read().split()]
heights.sort(reverse=True)
print("\n".join(map(str, heights[:3]))) import sys sys int(i) for i in sys.stdin.read().split() for i in sys.stdin.read().split() i sys.stdin.read().split() sys.stdin.read().split sys.stdin.read() sys.stdin.read sys.stdin sys stdin read split for i in sys.stdin.read().split() int(i) int i heights = [int(i) for i in sys.stdin.read().split()] heights [int(i) for i in sys.stdin.read().split()] heights.sort(reverse=True) heights.sort heights sort reverse=True reverse True print("\n".join(map(str, heights[:3]))) print "\n".join(map(str, heights[:3])) "\n".join "\n" join map(str, heights[:3]) map str heights[:3] heights :3 3 heights = [int(i) for i in sys.stdin.read().split()] [int(i) for i in sys.stdin.read().split()] heights
import sys
heights = [int(i) for i in sys.stdin.read().split()]
heights.sort(reverse=True)
print("\n".join(map(str, heights[:3])))