Problem:


List of Top 3 Hills

There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.

Write a program which prints heights of the top three mountains in descending order.

Input

Height of mountain 1
Height of mountain 2
Height of mountain 3
 .
 .
Height of mountain 10

Constraints

0 ≤ height of mountain (integer) ≤ 10,000

Output

Height of the 1st mountain
Height of the 2nd mountain
Height of the 3rd mountain

Sample Input 1

1819
2003
876
2840
1723
1673
3776
2848
1592
922

Output for the Sample Input 1

3776
2848
2840

Sample Input 2

100
200
300
400
500
600
700
800
900
900

Output for the Sample Input 2

900
900
800



Sample input:
1819
2003
876
2840
1723
1673
3776
2848
1592
922


Sample output:
3776
2848
2840

Submission status: Runtime Error

Solution code:
l = []

for i in range(10):
    l.append(int(input()))

l.sort()

for i in range(3):
    print(l[-1 * [i+1]])

Submission status: Runtime Error

Solution code:
# -*- coding:utf-8 -*-
import sys

first = 0
second = 0
third = 0

for line in open(sys.argv[1],"r"):
    if first < int(line):
        third = second
        second = first
        first = int(line)
    elif second < int(line):
        third = second
        second = int(line)
    elif third < int(line):
        third = int(line)

print(first)
print(second)
print(third)

Submission status: Runtime Error

Solution code:
import sys

first = 0
second = 0
third = 0

for line in open(sys.argv[1],"r"):
    if first < int(line):
        third = second
        second = first
        first = int(line)
    elif second < int(line):
        third = second
        second = int(line)
    elif third < int(line):
        third = int(line)

print(first)
print(second)
print(third)

Submission status: Runtime Error

Solution code:
# -*- coding:utf-8 -*-
import sys

first = 0
second = 0
third = 0
i = 0

for i in range(1,10):
    line = sys.argv[i]
    if first < int(line):
        third = second
        second = first
        first = int(line)
    elif second < int(line):
        third = second
        second = int(line)
    elif third < int(line):
        third = int(line)

print(first)
print(second)
print(third)

Submission status: Runtime Error

Solution code:
import sys

first = 0
second = 0
third = 0
i = 0

for i in range(1,10):
    line = sys.argv[i]
    if first < int(line):
        third = second
        second = first
        first = int(line)
    elif second < int(line):
        third = second
        second = int(line)
    elif third < int(line):
        third = int(line)

print(first)
print(second)
print(third)

Submission status: Runtime Error

Solution code:
n = 0
list = []
while n < 10:
    x = input()
    list.append(x)
    n += 1

sort.list()
print(list[7])
print(list[8])
print(list[9])

Submission status: Runtime Error

Solution code:
l = [input()]*10
for i in l.sort(reverse=True)[:3]:
    print(i)

Submission status: Runtime Error

Solution code:
#coding: utf8

f = open("sample.txt")
a=[]
a = f.read().splitlines()
for idx, num in enumerate(a):
    a[idx] = int(a[idx])
a = sorted(a, key=int, reverse=True)
print a
for num in a[0:3]:
    print num

f.close()

Submission status: Runtime Error

Solution code:
#coding: utf8

from sys import argv
script, f = argv
a=[]
a = open(f)
a = a.read().splitlines()
for idx, num in enumerate(a):
    a[idx] = int(a[idx])
a = sorted(a, key=int, reverse=True)
print a
for num in a[0:3]:
    print num

Submission status: Runtime Error

Solution code:
from sys import argv
script, f = argv
a=[]
a = open(f)
a = a.read().splitlines()
for idx, num in enumerate(a):
    a[idx] = int(a[idx])
a = sorted(a, key=int, reverse=True)
print a
for num in a[0:3]:
    print num

Submission status: Runtime Error

Solution code:
from sys import argv
f = argv
a=[]
a = open(f)
a = a.read().splitlines()
for idx, num in enumerate(a):
    a[idx] = int(a[idx])
a = sorted(a, key=int, reverse=True)
print a
for num in a[0:3]:
    print num

Submission status: Runtime Error

Solution code:
from sys import argv
f = argv
a=[]
a = open(f)
a = a.read().splitlines()
for idx, num in enumerate(a):
    a[idx] = int(a[idx])
a = sorted(a, key=int, reverse=True)
for num in a[0:3]:
    print num

Submission status: Runtime Error

Solution code:
#coding: utf8
from sys import argv
script, f = argv
a=[]
a = open(f)
a = a.read().splitlines()
for idx, num in enumerate(a):
     a[idx] = int(a[idx])
a = sorted(a, key=int, reverse=True)
for num in a[0:3]:
     print num

Submission status: Runtime Error

Solution code:
print input()

Submission status: Runtime Error

Solution code:
#coding: utf8

a=[]
a = input().splitlines()
for idx, num in enumerate(a):
    a[idx] = int(a[idx])
a = sorted(a, key=int, reverse=True)
for num in a[0:3]:
    print num

Submission status: Runtime Error

Solution code:
N = input()
a = [input() for i in range(N)]
a.sort()
print a[0],a[1],a[3]

Submission status: Runtime Error

Solution code:
height = map(int, raw_input().split())

height.sort()

for i in range(3):
  print height[9-i]

Submission status: Runtime Error

Solution code:
#coding:UTF-8
def LoT(List):
    T1=T2=T3=List[0]
    B=0
    for i in range(1,len(List)):
        if List[i]>T1:
            T2=T1
            T1=List[i]
        if List[i]<T1 and List[i]>T2:
            T3=T2
            T2=List[i]
        if List[i]<T2 and List[i]>T3:
            T3=List[i]
    print(str(T1)+"\n"+str(T2)+"\n"+str(T3))
        
if __name__=="__main__":
    List=[]
    for i in range(10):
        List.append(int(input()))
    LoT(List

Submission status: Runtime Error

Solution code:
import sys

in_=sys.argv[1]
with open(in_,"r") as f:
    lis=[]
    for line in f:
        line=line.strip()
        lis.append(line)
        
for i in sorted(lis,reverse=True):
    print(i)
    if i==2:
        break

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-

import sys
import six

def top_k_sort(data, k=3, reverse=True):
    data.sort(reverse=True)
    return data[:k]

def main():
    data = map(int, raw_input().split())

    data = [int(v) for v in argv[1:]]
    for h in top_k_sort(data):
        print(h)

if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-

import sys

def top_k_sort(data, k=3, reverse=True):
    data.sort(reverse=True)
    return data[:k]

def main():
    data = map(int, raw_input().split())

    data = [int(v) for v in argv[1:]]
    for h in top_k_sort(data):
        print(h)

if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-

import sys

def top_k_sort(data, k=3, reverse=True):
    data.sort(reverse=True)
    return data[:k]

def main():
    data = []
    for line in sys.stdin:
        data.append(int(line))

    data = [int(v) for v in argv[1:]]
    for h in top_k_sort(data):
        print(h)

if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
height_list = [int(input()) for i in range(10)]
for i in range(1,4): print sorted(height_list)[-i]

Submission status: Runtime Error

Solution code:
mountain=[]
for i in range(10):
 mountain[i]=int(input())
mountain.sort()
fori in range(3):
 print(mountain[i])

Submission status: Runtime Error

Solution code:
mountain=[]
for i in range(10):
 mountain[i]=int(input())
mountain.sort()
for i in range(3):
 print(mountain[i])

Submission status: Runtime Error

Solution code:
mountain=[]
for i in range(10):
 mountain[i]=int(input())
mountain.sort(::-1)
for i in range(3):
 print(mountain[i])

Submission status: Runtime Error

Solution code:
mountain=[]
for i in range(10):
 mountain[i]=int(input())
mountain.sort()
mountain.reverse()
for i in range(3):
 print(mountain[i])

Submission status: Runtime Error

Solution code:
A = sorted([int(raw_input()) for _ in xrange(10)])
print A[9]
print A[8]
PRINT a[7]

Submission status: Runtime Error

Solution code:
A = sorted([int(raw_input()) for _ in xrange(10)])
print A[9]
print A[8]
Print a[7]

Submission status: Runtime Error

Solution code:
import sys

[print(len(str(y[0] + y[1]))) for y in [[int(z) for z in x.split()] for x in sys.stdin]]

Submission status: Runtime Error

Solution code:
import sys 
[print(d) for i, d in enumerate([i for i in sys.stdin].reverse()) if i < 3]

Submission status: Runtime Error

Solution code:
 [print(e)for e in sorted([int(input())for _ in range(10)],reverse=True)[0:3]]

Submission status: Runtime Error

Solution code:
height = []
for i in range(10)
    height.append(int(input()))
height.sort()
for i in range(9,6,-1)
    print(height[i])

Submission status: Runtime Error

Solution code:
height = []
for i in range(10):
    height.append(int(input()))
for i in range(3):
    most = max(height)
    print(most)
    height[index(most)] = 0

Submission status: Runtime Error

Solution code:
l=[]
for i in range(10):
	l.append(int(input()))
l.sort().reverse()
print(l[0])
print(l[1])
print(l[2])

Submission status: Runtime Error

Solution code:
l=[]
for i in range(10):
	l.append(int(input()))
l.sort().reversed()
print(l[0])
print(l[1])
print(l[2])

Submission status: Runtime Error

Solution code:
heights = list()
for i in range(10):
    heights.append(int(input()))
for height in reversed(sorted(heights))[:3]:
    print(height)

Submission status: Runtime Error

Solution code:
m = [int(l) for l in input()]
m.sort()
print(sort[-1])
print(sort[-2])
print(sort[-3])

Submission status: Runtime Error

Solution code:
a = list(map(int,input().split()))
a.sort()
for i in range(1,4):
    print(a[-i])

Submission status: Runtime Error

Solution code:
a = list(map(int,input().split()))
a.sort()
print(a[-1])
print(a[-2])
print(a[-3])

Submission status: Runtime Error

Solution code:
import sys

array=[]
for i in sys.stdin.readlines():
    array.append(int(input()))
array.sort()
num = len(array)
for i in range(num-1,num-4,-1):
    print(array[i])

Submission status: Runtime Error

Solution code:
import numpy as np
from numpy.random import *

def quicksort(array):
    if len(array) < 2:
        return array # ?????¬??±??????
    else:
        pivot = array[0] # ?????°??±??????
        # ???????????????????°???????????????????????????¨?????????
        less = [i for i in array[1:] if i <= pivot]

        # ????????????????????§??????????????????????????¨?????????
        greater = [i for i in array[1:] if i > pivot]

        return quicksort(less) + [pivot] + quicksort(greater)


array = randint(0, 1000, 10) 
sorted_array = quicksort(array)
print(sorted_array[0:3])

Submission status: Runtime Error

Solution code:
import numpy as np
from numpy.random import *

def quicksort(array):
    if len(array) < 2:
        return array # ?????¬??±??????
    else:
        pivot = array[0] # ?????°??±??????
        # ???????????????????°???????????????????????????¨?????????
        less = [i for i in array[1:] if i <= pivot]

        # ????????????????????§??????????????????????????¨?????????
        greater = [i for i in array[1:] if i > pivot]

        return quicksort(less) + [pivot] + quicksort(greater)


array = randint(0, 1000, 10) 
sorted_array = quicksort(array)
print(sorted_array[0])
print(sorted_array[1])
print(sorted_array[2])

Submission status: Runtime Error

Solution code:
import numpy as np
from numpy.random import *

def quicksort(array):
    if len(array) < 2:
        return array # ?????¬??±??????
    else:
        pivot = array[0] # ?????°??±??????
        # ???????????????????°???????????????????????????¨?????????
        less = [i for i in array[1:] if i <= pivot]

        # ????????????????????§??????????????????????????¨?????????
        greater = [i for i in array[1:] if i > pivot]

        return quicksort(less) + [pivot] + quicksort(greater)


array = randint(0, 1000, 10) 
sorted_array = quicksort(array)
print(sorted_array[2])
print(sorted_array[1])
print(sorted_array[0])

Submission status: Runtime Error

Solution code:
import numpy as np
from numpy.random import *

def quicksort(array):
    if len(array) < 2:
        return array # ?????¬??±??????
    else:
        pivot = array[0] # ?????°??±??????
        # ???????????????????°???????????????????????????¨?????????
        less = [i for i in array[1:] if i <= pivot]

        # ????????????????????§??????????????????????????¨?????????
        greater = [i for i in array[1:] if i > pivot]

        return quicksort(less) + [pivot] + quicksort(greater)


array = randint(1, 1000, 10) 
sorted_array = quicksort(array)
print(sorted_array[2])
print(sorted_array[1])
print(sorted_array[0])

Submission status: Runtime Error

Solution code:
import numpy as np
from numpy.random import *

def quicksort(array):
    if len(array) < 2:
        return array
    else:
        pivot = array[0]
        less = [i for i in array[1:] if i <= pivot]

        greater = [i for i in array[1:] if i > pivot]

        return quicksort(less) + [pivot] + quicksort(greater)


array = randint(1, 1000, 10) 
sorted_array = quicksort(array)
print(sorted_array[2])
print(sorted_array[1])
print(sorted_array[0])

Submission status: Runtime Error

Solution code:
list = [int(x) for x in input().split()]
list.sort(reverse=True)
for i in range(3):
    print(list[i])

Submission status: Runtime Error

Solution code:
list = [int(x) for x in input().split()]
list.sort()
for i in range(3):
    print(list[i])

Submission status: Runtime Error

Solution code:
hoge = [int(x) for x in input().split()]
hoge.sort(reverse=True)
for i in range(3):
    print(hoge[i])

Submission status: Runtime Error

Solution code:
import sys

hoge = [int(x) for x in input().split()]
hoge.sort(reverse=True)
for i in range(3):
    print(hoge[i])

Submission status: Runtime Error

Solution code:
import string

list = [int(x) for x in input().split()]
list.sort(reverse=True)
for i in range(3):
    print(list[i])

Submission status: Runtime Error

Solution code:
list = list(map(int, input().split()))
list.sort(reverse=True)
for i in range(3):
    print(list[i])

Submission status: Runtime Error

Solution code:
while True:
    try:
        a,b = map(int,raw_input().split())
        c=str(a+b)
        print len(c)
    except EOFError:
        break

Submission status: Runtime Error

Solution code:
a=list(map(int,input().split()))
b=sorted(a)
print(b[9])
print(b[8])
print(b[7])

Submission status: Runtime Error

Solution code:
a=list(map(int,input().split()))
b=sorted(a, reverse=True)
print(b[0])
print(b[1])
print(b[2])

Submission status: Runtime Error

Solution code:
V = int(input())
a = [input() for i in range(V)].sort(reverse=True)
for i in a[0:2]:
    print(i)

Submission status: Runtime Error

Solution code:
a = []
for i in range(10):
    a.append(input())
a = a.sort(reverse=True)
for i in a[0:2]:
    print(i)

Submission status: Runtime Error

Solution code:
a=[]
for i in range(10):
    a.append(int(intpt())
a.sort()
print(a[0],a[1],a[2])

Submission status: Runtime Error

Solution code:
for i in range(10):
    s.append(int(input()))
s.sort()
for i in range(3):
    print(s[i])

Submission status: Runtime Error

Solution code:
try:
    a=[]
    while True:
        a.append(int(input())
except EOFError:
    pass
a.sort(reverse=True)
for i,iv in enumerate(a):
    print(iv)
    if i>=2:
        break

Submission status: Runtime Error

Solution code:
try:
    a=[]
    while True:
        a.append(int(input())
except EOFError:

Submission status: Runtime Error

Solution code:
try:
    while True:
except EOFError:

Submission status: Runtime Error

Solution code:
heightOfMountains = []
for i in range(1, 11):
	heightOfMountains.append(int(input()))
	sort.heightOfMountains
	for j in range(1, 4):
		print(heightOfMountains[-j])

Submission status: Runtime Error

Solution code:
heightOfMountains = []
for i in range(1, 11):
	heightOfMountains.append(int(input()))
sort.heightOfMountains
for i in range(1, 4):
	print(heightOfMountains[-j])

Submission status: Runtime Error

Solution code:
heightOfMountains = []
for i in range(10):
	heightOfMountains.append(int(input()))
heightOfMountains.sort()
for i in range(1, 4):
	print(heightOfMountains[-j])

Submission status: Runtime Error

Solution code:
heightOfMountains = []
for i in range(1, 11):
	heightOfMountains.append(int(input()))
heightOfMountains.sort()
for i in range(1, 4):
	print(heightOfMountains[-j])

Submission status: Runtime Error

Solution code:
mtlist=[]

while True:
    mtlist.append(input())
    mt
print(list.sort())

Submission status: Runtime Error

Solution code:
mtlist=[]

while True:
    mtlist.append(input())
print(list.sort())

Submission status: Runtime Error

Solution code:
import sys
heights = sort([ int(h) for h in sys.stdin],reverce)
for h in heights:
    print(h)

Submission status: Runtime Error

Solution code:
import sys
heights = sorted([ int(h) for h in sys.stdin],reverce)
for h in heights:
    print(h)

Submission status: Runtime Error

Solution code:
import sys
heights = sort([ int(h) for h in sys.stdin],reverce)
heights[0]
heights[1]
heights[2]

Submission status: Runtime Error

Solution code:
import sys
heights = sorted([ int(h) for h in sys.stdin],reverce)
heights[0]
heights[1]
heights[2]

Submission status: Runtime Error

Solution code:
mountain=[]
for s in range(0,10):
    mountain.append(int(input()))
mountain.sort(reverse=true)
for s in range(0,3):
 print(mountain[s])

Submission status: Runtime Error

Solution code:
m_h=[int(input(I) for i in range(10)

m_h.sort(reverse=True)

print(m_h[0])
print(m_h[1])
print(m_h[2])

Submission status: Runtime Error

Solution code:
m_h=[int(input(I) for i in range(10)]

m_h.sort(reverse=True)

print(m_h[0])
print(m_h[1])
print(m_h[2])

Submission status: Runtime Error

Solution code:
mmax1 = 0
middle = 0
small = 0
x = 0
for i in range(10):
	x = int(input())
	if max1 < x :
		middle = max1
		max1 = x
		x = 0
	elif middle < x :
		small = middle
		middle = x
		x = 0
	elif small <= x :
		small = x
		x = 0
	x = 0
print(max1)
print(middle)
print(small)

Submission status: Runtime Error

Solution code:
inp = input()
a = [input() for i in range(inp)]
a.sort()
a.reverse()
print(a[0])
print(a[1])
print(a[2])

Submission status: Runtime Error

Solution code:
inp = input()
a = [input() for i in range(int(inp))]
a.sort()
a.reverse()
print(a[0])
print(a[1])
print(a[2])

Submission status: Runtime Error

Solution code:
height =[]
inp = ""
while True:
    inp = input()
    if inp == "":break
    else: height.append(int(inp))

height.sort(reverse=True)
for j in range(0,3):
    print(str(height[j]))

Submission status: Runtime Error

Solution code:
l = [a,b,c,d,e,f,g,h,i,j]
a,b,c,d,e,f,g,h,i,j = int(input())
l.sort()
print(l[-1])
print(l[-2])
print(l[-3])

Submission status: Runtime Error

Solution code:
rank = sorted([int(input()) for i in range(10)], reverse=True)
print('\n'.join(rank[:3]) + '\n')

Submission status: Runtime Error

Solution code:
N=10
A=[]
for i in range(N):
    A.append(int(input()))
sorted(A)
for i in range(3):
    print(a[i])

Submission status: Runtime Error

Solution code:
from sys import stdin
map(print,[int(n) for n in stdin].sort(reverse=True)[0:3])

Submission status: Runtime Error

Solution code:
map(print,[int(n) for n in stdin].sort(reverse=True)[0:3])

Submission status: Runtime Error

Solution code:
mountains_high=[]
for i in range(10):
    mountains_high.append(int(input()))

mountains_high_copy=mountains_high.copy()
for i in range(9):
    for j in range(9):
        if mountains_high_copy[j]>mountains_high_copy[j+1]:
            num=mountains_high_copy[j]
            mountains_high_copy[j]=mountains_high_copy[j+1]
            mountains_high_copy[j+1]=num

for i in range(3):
    print(mountains_high_copy[9-i

Submission status: Runtime Error

Solution code:
x = sorted(map(int, input().split()), reverse=True)
for i in range(3):
    print(x[i])

Submission status: Runtime Error

Solution code:
# coding: utf-8

nums = list()
for i in range(10):
    num = raw_input().split("?±±?????????")
    nums.append(int(num))

nums = sorted(nums)
print "{}\n{}\n{}".format(nums[0],nums[1],nums[2])

Submission status: Runtime Error

Solution code:
import sys

mt = sys.stdin.strip().split()
mt = sorted([int(i) for i in mt])
print "\n".join(mt[:3])

Submission status: Runtime Error

Solution code:
l = []
for i in range(10):
    inp = input()
    l.append(int(inp))
l.sort().reverse()
for i in range(3):
    print(l[i])

Submission status: Runtime Error

Solution code:
l = []
for i in range(10):
    inp = input()
    l.append(int(inp.rstrip()))
l.sort().reverse()
for i in range(3):
    print(l[i])

Submission status: Runtime Error

Solution code:
result = [0, 0, 0] 
for i in range(10):
 inp = int(raw_input())
 if result[2] >= inp:
  continue
 elif result[1] <= inp < result[2]:
  result[2] = inp
 elif result[0] <= inp < result[1]:
  result[2] = result[1]
  result[1] = inp
 else:
  result[2] = result[1]
  result[1] = result[0]
  result[0] = inp


for i in reange(3):
 print result[i]

Submission status: Runtime Error

Solution code:
# coding: utf-8

import codecs
import sys

sys.stdout = codecs.getwriter("shift_jis")(sys.stdout) # ??????
sys.stdin = codecs.getreader("shift_jis")(sys.stdin) # ??\???

# ??\??¬?????????print??????????????´?????? print(u'?????????') ??¨??????
# ??\??¬?????????input??? input(u'?????????') ??§OK
# ??°?¢???????????????????????????´??????6,7???????????????????????¢??????

a = []
while True:
	n = input()
	if n == -1:
		break
	a.append(n)

#a = [0,5,2,3,4,1]

a.sort()
a.reverse()

print a[0]
print a[1]
print a[2]

Submission status: Runtime Error

Solution code:
def inp():
    try:
        while True:
            data=raw_input()
            if not data: break
            yield data
    except KeyboardInterrupt:
        return
sorted(list(inp()),reverse=True)[:3]

Submission status: Runtime Error

Solution code:
def minput():
    try:
        while True:
            data=raw_input()
            if not data: break
            yield data
    except KeyboardInterrupt:
        return
sorted(list(minput()),reverse=True)[:3]

Submission status: Runtime Error

Solution code:
n = map(int, raw_input().split())
sorted(n),reverse=True)[:3]

Submission status: Runtime Error

Solution code:
lst=[]
for n in range(10):
    lst.append(int(input())
res=sorted(lst, reverse=True)
for i in range(3):
    print(res[i])

Submission status: Runtime Error

Solution code:
list[]
for i range(0,10):
    n = int(raw_input())
    list.append(n)
list.sort(reverse=True)
for i in range(0,3):
    print list[i]

Submission status: Runtime Error

Solution code:
N = input()
a = []
for i in range(N):
    a.append(input())
for i in range(3):
    m = max(a)
    a.remove(m)
    print (m)

Submission status: Runtime Error

Solution code:
import sys
def main():
    N = input()
    a = []
    for i in range(N):
        a.append(input())
    for i in range(3):
        m = max(a)
        a.remove(m)
        print (m)
        return 0    
if __name__ == "__main__":
    sys.exit(main())

Submission status: Runtime Error

Solution code:
N = int(input())
a = []
for i in range(N):
    a.append(input())
for i in range(3):
    m = max(a)
    a.remove(m)
    print (m)

Submission status: Runtime Error

Solution code:
N = int(input())
a = []
for i in range(N):
    a.append(int(input()))
for i in range(3):
    m = max(a)
    a.remove(m)
    print (m)

Submission status: Runtime Error

Solution code:
n = int(input())
a = [input() for i in range(n)]
for i in range(3):
    m = max(a)
    a.remove(m)
    print (m)

Submission status: Runtime Error

Solution code:
n = int(input())
a = [int(input()) for i in range(n)]
for i in range(3):
    m = max(a)
    a.remove(m)
    print (m)

Submission status: Runtime Error

Solution code:
n = int(input())
l = [input() for i in range(n)]
for i in range(3):
    m = max(l)
    a.remove(m)
    print (m)

Submission status: Runtime Error

Solution code:
import sys
e = sys.stdin.readlines():
for i in range(3):
    m = max(e)
    e.remove(m)
    print (m)

Submission status: Runtime Error

Solution code:
a = raw_input()

b = sort(a)

print a[0],a[1],a[2]

Submission status: Runtime Error

Solution code:
cnt = 10
top3 = [0,0,0]

for x in xrange(cnt):
    n = int( raw_input() )

    if top3[2] > n: continue
    top3[2] = n

    if top3[1] > top3[2]: continue
    top3[1], top3[2] = top3[2], top3[1]

    if top3[0] > top3[1]: continue
    top3[0], top3[1] = top3[1], top3[0]

print top[0], top[1], top[2]

Submission status: Runtime Error

Solution code:
tate =int(input())
yoko=int(input())
arr = [i+1 for i in range(tate)]
for j in range(yoko):
    rep1,rep2=input().split(",")
    rep1=int(rep1)-1
    rep2=int(rep2)-1
    arr[rep1],arr[rep2] = arr[rep2],arr[rep1]

for k in range(tate):
    print(arr[k])

Submission status: Runtime Error

Solution code:
N = input()
a = []
for i in range(N):
    a.append(str(input()))

a.sort()

for i in range(3):
    print(a[i])

Submission status: Runtime Error

Solution code:
N = int(input())

a = []
for i in range(N):
    a.append(input())

a.sort()

for i in range(3):
    print(a[i])

Submission status: Runtime Error

Solution code:
N = input()

a = []
for i in range(N):
    a.append(input())

a = map(int,a)
a.sort()

for i in range(3):
    print(a[i])

Submission status: Runtime Error

Solution code:
heights = []

for i in range(10):
    N = input()
    heights[i] = N
    
sort_heights = sorted(heights, reverse=True)
print(sort_heights[0])
print(sort_heights[1])
print(sort_heights[2])

Submission status: Runtime Error

Solution code:
import numpy as np

heights = np.ndarray(10, dtype=int)

for i in range(10):
    N = input()
    heights[i] = N
    
sort_heights = np.sort(heights)[::-1]
print(sort_heights[0])
print(sort_heights[1])
print(sort_heights[2])

Submission status: Runtime Error

Solution code:
import numpy as np

heights = np.ndarray(10, dtype=int)
first = 0
second = 0
third = 0

for i in range(10):
    N = int(input())
    if(third < N):
        if(second < N):
            if(first < N):
                third = second
                second = first
                first = N
            else:
                third = second
                second = N
        else:
            third = N
    
print(first)
print(second)
print(third)

Submission status: Runtime Error

Solution code:
a=[]
for i in range(0,10):
    n=int(input())
    a.appnd(n)
a.sort()
for j in range(0,3):
    print(a[j])

Submission status: Runtime Error

Solution code:
import sys
a=[map(int,i.split())for i in sys.stdin]
print(*sorted(a,reverse=True)[:3],sep='\n')

Submission status: Runtime Error

Solution code:
a = input(">>")
a = a.split()
x = str(int(a[0])+int(a[1]))
print(len(x))

Submission status: Runtime Error

Solution code:
first = 0;
second = 0;
third = 0;
for var in range(0,10):
	N = input()
	if N>first:
		third = second
		second = first
		first = N
	elif N>second:
		third = second
		second = N
	elif N>third:
		third = N
print (first)
print (second)
print (third)

Submission status: Runtime Error

Solution code:
first = 0;
second = 0;
third = 0;
for var in range(0,10):
	N = input()
	if (N>first):
		third = second
		second = first
		first = N
	elif (N>second):
		third = second
		second = N
	elif (N>third):
		third = N
print (first)
print (second)
print (third)

Submission status: Runtime Error

Solution code:
"\n".join(reverse(sort([input() for i in range(10)]))[:3])

Submission status: Runtime Error

Solution code:
"\n".join(reversed(sorted([input() for i in range(10)]))[:3])

Submission status: Runtime Error

Solution code:
"\n".join(sort([input() for i in range(10)])[:-3:-1])

Submission status: Runtime Error

Solution code:
"\n".join(sorted([input() for i in range(10)])[:-3:-1])

Submission status: Runtime Error

Solution code:
import sys

input_list = list()
for i in sys.stdin.readlines():
    input_list.append(int(i))

for i in sorted(input_list, reversed=True)[:3]:
    print i

Submission status: Runtime Error

Solution code:
height = []
while 1:
    h = raw_input()
    if h == '': break
    h = int(h)
    height.append(h)
height.sort(reverse=True)
for i in range(3):
    print height[i]

Submission status: Runtime Error

Solution code:
list=[]
for i in range(10):
   list.append(input())
list.sort(reverse=true)
for i in range(3):
   print list[i]

Submission status: Runtime Error

Solution code:
nums = []
while True:
    n = raw_input()
    if not n: break
    nums.append(int(n))
nums.sort(reverse=True)
for i in range(3): print nums[i]

Submission status: Runtime Error

Solution code:
l=[]
while True:
    s = raw_input()
    if s=="":
        break
    l.append(s)
l.sort()
l.reverse()
for i in range(3):
    print l.pop(0)

Submission status: Runtime Error

Solution code:
l=[]
while True:
    try:
        l.append(input())
    except SyntaxError:
        break
l.sort(reverse = True)
for i in range(3):
    print l[i]

Submission status: Runtime Error

Solution code:
x = []
a = 1
while True:
	if a != 10:
		x.append(int(raw_input()))
		a += 1
		continue
	else:
		break
x.sort()
print x[9]
print x[8]
print x[7]

Submission status: Runtime Error

Solution code:
map(lambda x: print x, sorted(map(lambda _: int(raw_input()), range(10)), reverse = True)[:3])

Submission status: Runtime Error

Solution code:
h = [input() for _ in xrange(10)].sort()
h[0:3]

Submission status: Runtime Error

Solution code:
lis = []
for i in xrange(10):
 lis.append(input())
for a in sorted(lis,reversed=True)[:3]:
 print a

Submission status: Runtime Error

Solution code:
#
# AIZU ONLINE JUDGE: List of Top 3 Hills
# cf. http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001&lang=jp
#

import sys

file = sys.argv[1]
lis = open(file, "r").readlines()
lis = map((lambda x: int(x)), lis)
lis.sort()
lis.reverse()

for height in lis[0:3]:
    print height

Submission status: Runtime Error

Solution code:
import sys

file = sys.argv[1]
lis = open(file, "r").readlines()
lis = map(int, lis)
lis.sort()
lis.reverse()

for height in lis[0:3]:
    print height

Submission status: Runtime Error

Solution code:
import sys

heights = []
for line in sys.stdin:
    heights.append(int(line.strip())

for height in sorted(heights, reverse=True)[:3]:
    print height

sys.exit(0)

Submission status: Runtime Error

Solution code:
print "\n".join(sorted([input() for x in xrange(10)])[:3])

Submission status: Runtime Error

Solution code:
from sys import stdin

x = [int(input()) for i in range(10)]
x.sort().reverse()
for i in range(3):
    print(i)

Submission status: Runtime Error

Solution code:
x = map(int, raw_input().split())
x.sort()
x.reverse()
print x[0], x[1], x[2]

Submission status: Runtime Error

Solution code:
x = []
while True:
    try:
        x.append(int, raw_input())
    except:
        break
x.sort()
x.reverse()
print x[0], x[1], x[2]

Submission status: Runtime Error

Solution code:
hs = []
for i in xrange(11):
    hs.append(int(raw_input()))

hs.sort()

print hs[9]
print hs[8]
print hs[7]

Submission status: Runtime Error

Solution code:
import sys
heights = []
for line in sys.stdin:
    heights.append(int(line.rstrip('\n')))
for height in heights.sort()[:3]:
    print height

Submission status: Runtime Error

Solution code:
#-------------------------------------------------------------------------------
# Name:        module1
# Purpose:
#
# Author:      sato
#
# Created:     19/10/2013
# Copyright:   (c) sato 2013
# Licence:     <your licence>
#-------------------------------------------------------------------------------

def input_and_sort():
    l = []
    for x in input():
        l.append(x)
    l.sort()
    return l



if __name__ == '__main__':
    l = input_and_sort()
    print l[0]
    print l[1]
    print l[2]