import sys
m = [int(l) for l in sys.stdin]
m.sort()
print(m[-1])
print(m[-2])
print(m[-3]) import sys sys int(l) for l in sys.stdin for l in sys.stdin l sys.stdin sys stdin for l in sys.stdin int(l) int l m = [int(l) for l in sys.stdin] m [int(l) for l in sys.stdin] m.sort() m.sort m sort print(m[-1]) print m[-1] m -1 print(m[-2]) print m[-2] m -2 print(m[-3]) print m[-3] m -3 m = [int(l) for l in sys.stdin] [int(l) for l in sys.stdin] m
import sys
m = [int(l) for l in sys.stdin]
m.sort()
print(m[-1])
print(m[-2])
print(m[-3])