import sys

l = sorted(map(int,sys.stdin.readlines()),reverse=True)
for i in l[:3]:
    print(i) import sys sys l = sorted(map(int,sys.stdin.readlines()),reverse=True) l sorted(map(int,sys.stdin.readlines()),reverse=True) sorted map(int,sys.stdin.readlines()) map int sys.stdin.readlines() sys.stdin.readlines sys.stdin sys stdin readlines reverse=True reverse True for i in l[:3]:
    print(i) i l[:3] l :3 3 print(i) print i l = sorted(map(int,sys.stdin.readlines()),reverse=True) sorted(map(int,sys.stdin.readlines()),reverse=True) l
import sys

l = sorted(map(int,sys.stdin.readlines()),reverse=True)
for i in l[:3]:
    print(i)