import sys
mt_heights = map(int, sys.stdin.readlines())
mt_heights.sort(reverse=True)
for height in mt_heights[:3]:
    print height import sys sys mt_heights = map(int, sys.stdin.readlines()) mt_heights map(int, sys.stdin.readlines()) map int sys.stdin.readlines() sys.stdin.readlines sys.stdin sys stdin readlines mt_heights.sort(reverse=True) mt_heights.sort mt_heights sort reverse=True reverse True for height in mt_heights[:3]:
    print height height mt_heights[:3] mt_heights :3 3 print mt_heights = map(int, sys.stdin.readlines()) map(int, sys.stdin.readlines()) mt_heights
import sys
mt_heights = map(int, sys.stdin.readlines())
mt_heights.sort(reverse=True)
for height in mt_heights[:3]:
    print height