import fileinput

def main():
    numbers = []
    for line in fileinput.input():
        numbers.append(int(line))
    numbers = sorted(numbers, reverse=True)
    for n in numbers[0:3]:
        print n

main() import fileinput fileinput def main():
    numbers = []
    for line in fileinput.input():
        numbers.append(int(line))
    numbers = sorted(numbers, reverse=True)
    for n in numbers[0:3]:
        print n main numbers = [] numbers [] for line in fileinput.input():
        numbers.append(int(line))
     line fileinput.input() fileinput.input fileinput input numbers.append(int(line)) numbers.append numbers append int(line) int line numbers = sorted(numbers, reverse=True) numbers sorted(numbers, reverse=True) sorted numbers reverse=True reverse True for n in numbers[0:3]:
        print n n numbers[0:3] numbers 0:3 0 3 print main() main def main():
    numbers = []
    for line in fileinput.input():
        numbers.append(int(line))
    numbers = sorted(numbers, reverse=True)
    for n in numbers[0:3]:
        print n def main():
    numbers = []
    for line in fileinput.input():
        numbers.append(int(line))
    numbers = sorted(numbers, reverse=True)
    for n in numbers[0:3]:
        print n main
import fileinput

def main():
    numbers = []
    for line in fileinput.input():
        numbers.append(int(line))
    numbers = sorted(numbers, reverse=True)
    for n in numbers[0:3]:
        print n

main()