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