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: Wrong Answer

Solution code:
mount_list = []

for i in range(1, 11):
  mount_list.append(input("Height of mountain" + str(i)))

mount_list.sort(reverse = True)

for sorted_mounts in mount_list:
  print(sorted_mounts)

Submission status: Wrong Answer

Solution code:
mount_list = []

for i in range(1, 11):
  mount_list.append(int(input("Height of mountain" + str(i) + ":")))

mount_list.sort(reverse = True)

for sorted_mounts in mount_list:
  print(sorted_mounts)

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
    a = [1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922]
    print(sorted(a, reverse=True)[1:4])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def __main():

    mountains = []
    numOfMoun = 10
 
    for c in range(numOfMoun):
        mountains.insert(c,int(input('Height of the mountain ')))
        
    sorted_mounts = sorted(mountains,reverse=True)
    print(sorted_mounts[0])
    print(sorted_mounts[1])
    print(sorted_mounts[2])
    

__main()

Submission status: Wrong Answer

Solution code:
def __main():

    mountains = []
    numOfMoun = 10
 
    for c in range(numOfMoun):
        mountains.insert(c,int(input('Height of the mountain ')))
        
    sorted_mounts = sorted(mountains,reverse=True)
    for k in range(3):
        print(sorted_mounts[k])
    

__main()

Submission status: Wrong Answer

Solution code:
mh=[]

for i in range(1,11):
    mh.append(int(input()))

mh.sort(reverse=True)
print(mh[0:3])

Submission status: Wrong Answer

Solution code:
Height = [0]*10

for i in range (10):
    Height[i] = int(input("Height of mountain " + str(i+1) + ":"))
Height.sort()
Height.reverse()
for j in range(3):
    print(Height[j])

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
while True:
	try:	
		a, b = (int(s) for s in input().split())
		print len(str(a + b))
	except:
		break

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
while True:
	try:	
		a, b = {int(s) for s in input().split()}
		print len(str(a + b))
	except:
		break

Submission status: Wrong Answer

Solution code:
mountains = []

for i in range(10):
    m = int(input())
    mountains.append(m)

mountains.sort()

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

Submission status: Wrong Answer

Solution code:
hs=[list(map(int, input().split())) for _ in range(10)]
h=sorted(hs,reverse=True)[:3]
print(h[0])
print(h[1])
print(h[2])

Submission status: Wrong Answer

Solution code:
l=[]
l.append(int(input()))
l.append(int(input()))
l.append(int(input()))
l.append(int(input()))
l.append(int(input()))
l.append(int(input()))
l.append(int(input()))
l.append(int(input()))
l.append(int(input()))
l.append(int(input()))
l.sort()
l.reverse()
print l[0],l[1],l[2]

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
#coding: utf-8

# Volume0 - 0001 (http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001)

li = []
for x in range(10):
    y = input()
    li.append(y)

li.reverse()

for y in range(3):
    print(li[y])

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
#coding: utf-8

# Volume0 - 0001 (http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001)

li = []
for x in range(10):
    y = input()
    li.append(y)

li.sort()
li.reverse()

for y in range(3):
    print(li[y])

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
#coding: utf-8

# Volume0 - 0001 (http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001)

li = []
for x in range(10):
    s = input()
    int(s)
    li.append(s)

li.sort()
li.reverse()

for y in range(3):
    print(li[y])

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
#coding: utf-8

# Volume0 - 0001 (http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001)

li = []
for x in range(3):
    s = input()
    s = int(s)
    li.append(s)

li.sort()
li.reverse()

for y in range(3):
    print(li[y])

Submission status: Wrong Answer

Solution code:
def main():
	n = 10
	num = 0
	mtns = []
	final = []
	
	while n > 0:
		num = int(raw_input())
		mtns.append(num)
		n -= 1

  	mtns.sort()
	mtns.reverse()

	return mtns

print main()

Submission status: Wrong Answer

Solution code:
m=[input() for i in range(10)]
m.sort()
m.reverse()
print("{0}\n{1}\n{2}".format(m[0],m[1],m[2]))

Submission status: Wrong Answer

Solution code:
# coding: UTF-8
inputs=[]
for i in range(1,10):
    inputs.append(input())
inputs.sort(reverse=True)
for i in range(0,3):
    print inputs[i]

Submission status: Wrong Answer

Solution code:
spam = [int(input()) for i in range(0, 10)]
spam.sort()
spam.reverse()
for i in range(1, 3):
    print('{}'.format(spam[i]))

Submission status: Wrong Answer

Solution code:
1819
2003
876
2840
1723
1673
3776
2848
1592
922

Submission status: Wrong Answer

Solution code:
a = 0
b = 0
c = 0
for i in range(0, 10):
  inputNum = int(raw_input())

  if a < inputNum:
    a = inputNum
    continue
  elif b < inputNum:
    b = inputNum
    continue
  elif c < inputNum:
    c = inputNum

print a
print b
print c

Submission status: Wrong Answer

Solution code:
for i in range(0, 10):
  inputNum = int(raw_input())

  if i == 0:
    a = inputNum
    b = inputNum
    c = inputNum

  if a < inputNum:
    a = inputNum
    continue
  elif b < inputNum:
    b = inputNum
    continue
  elif c < inputNum:
    c = inputNum

print a
print b
print c

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
firstMountainHeight  = 0
secondMountainHeight = 0
thirdMountainHeight  = 0

while 1:

	try :

		i = int(raw_input())

		if firstMountainHeight    < i :
			firstMountainHeight   = i
			print"first compare"

		elif secondMountainHeight < i :
			secondMountainHeight  = i
			print"second compare"

		elif thirdMountainHeight  < i :
			thirdMountainHeight   = i
			print"third compare"

    	except:
	    	print"%d" % (firstMountainHeight)
	    	print"%d" % (secondMountainHeight)
	    	print"%d" % (thirdMountainHeight)

	    	break

Submission status: Wrong Answer

Solution code:
firstMountainHeight  = 0
secondMountainHeight = 0
thirdMountainHeight  = 0

while 1:

	try :

		i = int(raw_input())

		if firstMountainHeight    < i :
			print"first compare"
			thirdMountainHeight  = secondMountainHeight
			secondMountainHeight = firstMountainHeight
			firstMountainHeight  = i

		elif secondMountainHeight < i :
			print"second compare"
			thirdMountainHeight  = secondMountainHeight
			secondMountainHeight = i
			
		elif thirdMountainHeight  < i :
			print"third compare"
			thirdMountainHeight   = i
			
    	except:
	    	print"%d" % (firstMountainHeight)
	    	print"%d" % (secondMountainHeight)
	    	print"%d" % (thirdMountainHeight)

	    	break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
if __name__ == "__main__":
    a = []
    for i in range(0,10):
        val = input()
        int(val)
        a.append(val)
        
    a.reverse()
    for i in range(0,3):
        print(a[i])

Submission status: Wrong Answer

Solution code:
if __name__ == "__main__":
    a = []
    for i in range(0,10):
        val = input()
        a.append(int(val))

    a.sort()
    a.reverse()
    for i in range(0,3):
        print(a[i])

    print(a)

Submission status: Wrong Answer

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

inputList.sort()
for x in range(len(inputList) - 1, -1, -1):
    print(inputList[x])

Submission status: Wrong Answer

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

def main():
    List=[]

    for i in range(10):
        a=input()
        List.append(a)

    List.sort(reverse=True)
    print(List[0])
    print(List[1])
    print(List[2])
        
 
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
lis=[];

for i in range(10):
    h=int(input());
    lis.append(h);
    
for i in range(10):
    for j in range(10):
        if lis[i]<lis[j]:
            a=lis[i];
            lis[i]=lis[j];
            lis[j]=a;
            
for i in range(3):
    print(lis[i]);

Submission status: Wrong Answer

Solution code:
input = [12,123,1221,5231,412,5123,4512,21234,21351,1143]
input.sort()
for x in range(1,4):
 print input[-x]

Submission status: Wrong Answer

Solution code:

mt = []

for i in range(10):
    mt.append(input())

print(mt.pop(mt.index(max(mt))))
print(mt.pop(mt.index(max(mt))))
print(mt.pop(mt.index(max(mt))))

Submission status: Wrong Answer

Solution code:
mt = []
 
for i in range(10):
    mt.append(input())
 
print(mt.pop(mt.index(max(mt))))
print(mt.pop(mt.index(max(mt))))
print(mt.pop(mt.index(max(mt))))

Submission status: Wrong Answer

Solution code:
mt = []

for i in range(10):
    mt.append(input())

print(str(mt.pop(mt.index(max(mt)))))
print(str(mt.pop(mt.index(max(mt)))))
print(str(mt.pop(mt.index(max(mt)))))

Submission status: Wrong Answer

Solution code:
x = [input() for _ in range(10)]
x.reverse()
for i in range(3):
    print x[i]

Submission status: Wrong Answer

Solution code:
x = [input() for _ in xrange(10)]
x.reverse()
for i in xrange(3):
    print x[i]

Submission status: Wrong Answer

Solution code:
s=[int(input(x)) for x in range(10)]
print(sorted(s)[-1])
print(sorted(s)[-2])
print(sorted(s)[-3])

Submission status: Wrong Answer

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

high=[0,0,0]
for i in range(10):
    if  mt[i] > high[0]:
        high=[mt[i]]+high[:2]
    elif mt[i] > high[1]:
        high=[high[0]]+[mt[1]]+[high[1]]
    elif mt[i] > high[2]:
        high=high[:2]+[mt[i]]
print(high,sep='\n')

Submission status: Wrong Answer

Solution code:
height=[]
for i in xrange(10):
    mountain=input()
    height.append(mountain)
height.sort()
for i in xrange(3):
    print(height[i])

Submission status: Wrong Answer

Solution code:
height=[]
for i in xrange(10):
    mountain=input()
    height.append(mountain)
height.reverse()
for i in xrange(3):
    print(height[i])

Submission status: Wrong Answer

Solution code:
mtheight = []

for i in xrange(0,10):
    mtheight.append(raw_input())

mtheight.sort()
mtheight.reverse()

for i in xrange(0,2):
    print(mtheight[i])

Submission status: Wrong Answer

Solution code:
m=[]
for i in range(10):
    x = raw_input()
    m.append(x)
m.sort()
m.reverse()
for i in range(0,3):
    print m[i]

Submission status: Wrong Answer

Solution code:
import sys
m=[]
for i in range(10):
    x = raw_input()
    m.append(x)
m.sort()
m.reverse()
for i in range(0,3):
    print m[i]

Submission status: Wrong Answer

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

hills_list = []
while len(hills_list) != 10:
    hills = raw_input()
    if (10000 >= int(hills)) and (int(hills) >= 0):
        hills_list.append(int(hills))
hills_list.sort()
print hills_list[0]
print hills_list[1]
print hills_list[2]

Submission status: Wrong Answer

Solution code:
def main():
    a = []
    for i in range(10):
        a.append(input())

    a.sort()
    a.reverse()

    for i in range(3):
        print(i)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

    a.sort()
    a.reverse()

    for i in range(3):
        print(i)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

yamaLen = len(yama)
yamaLen -= 1
print "%d" % (yama[yamaLen])
yamaLen -= 1
print "%d" % (yama[yamaLen])
yamaLen -= 1
print "%d" % (yama[yamaLen])

Submission status: Wrong Answer

Solution code:
yama = []
for i in range(10):
    n = input()
    yama.append(n)
sorted(yama)
print yama[9]
print yama[8]
print yama[7]

Submission status: Wrong Answer

Solution code:
hight = []

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

hight.sort()
print(hight[0])
print(hight[1])
print(hight[2])

Submission status: Wrong Answer

Solution code:
print("Hello,world!")

Submission status: Wrong Answer

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

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

for i in range(0,9):
    line = int(input())
    
    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: Wrong Answer

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

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

for i in range(0,9):
    line = int(input())
    
    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: Wrong Answer

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

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

for i in range(0,9):
    line = int(input())
    
    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)

exit()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
height = [ 1819,2003,876,2840,1723,1673,3776,2848,1592,922 ]

top = height[0]

for x in height :
    if top < x:
       top = x 

height.remove(top);

second = height[0]
for x in height :
    if second < x:
       second= x 

height.remove(second);

third = height[0]
for x in height :
    if third < x:
       third = x 

print(top)
print(second)
print(third)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print a[:3]

Submission status: Wrong Answer

Solution code:
import sys

a = []
for line in sys.stdin:
    a.append(int(line))
a.sort()
print(str(a[0]))
print(str(a[1]))
print(str(a[2]))

Submission status: Wrong Answer

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

for i,j in enumerate(sorted(lis,reverse=True)):
  print(i)
  if i==3:
    break

Submission status: Wrong Answer

Solution code:
lis=[]
for i in range(10):
  lis.append(input())
 
for i,j in enumerate(sorted(lis,reverse=True)):
  print(j)
  if i==3:
    break

Submission status: Wrong Answer

Solution code:
lis=[]
for i in range(10):
  lis.append(input())
 
for i,j in enumerate(sorted(lis,reverse=True)):
  print(j)
  if i==2:
    break

Submission status: Wrong Answer

Solution code:
lis=[]
for i in range(10):
  lis.append(input())
 
for i in enumerate(sorted(lis,reverse=True)[:3]):
  print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# your code goes here
import sys

a=[]
for line in sys.stdin:
  tmp=line.split(" ")
  a.append(tmp[-1])

a.sort(reverse=True)
for i in a:
	print(i)

Submission status: Wrong Answer

Solution code:
# your code goes here
import sys

a=[]
for line in sys.stdin:
  line.rstrip('rn')
  tmp=line.split(" ")
  a.append(int(tmp[-1]))

a.sort(reverse=True)
for i in a:
	
  if i>=0 and i<=10000:
    print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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():
    argv = sys.argv
    argc = len(argv)

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
data_set=[]
for i in range(0,10):
        data_set.append(raw_input())
top=sorted(data_set,reverse=True)
for i in range(0,3):
        print(top[i])

Submission status: Wrong Answer

Solution code:
s = [raw_input() for i in xrange(10)]

s.sort()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
[print(d) for i, d in enumerate(sorted([i for i in input() for _ in range(10)], reverse=True)) if i < 3]

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
High = []
for i in range(10):
    High.append(input())
High.sort(reverse = True)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = []
for i in range(10):
    a.append(int(input()))
a.sort
print(a[9])
print(a[8])
print(a[7])

Submission status: Wrong Answer

Solution code:
import sys

heights = []

for height in sys.stdin:
  heights.append(int(height))

heights.reverse()

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

Submission status: Wrong Answer

Solution code:
import sys

heights = []

for height in sys.stdin:
  heights.append(int(height.rstrip()))

heights.reverse()

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

Submission status: Wrong Answer

Solution code:
def calc_mount_1(height_list):
    for i in range(len(height_list)):
        for i in range(len(height_list)-1):
            if height_list[i+1] < height_list[i]:
                tmp = height_list[i+1]
                height_list[i+1] = height_list[i]
                height_list[i] = tmp
            else:
                break
    return height_list

N = 10
l = [input() for i in range(N)]
answer_array = calc_mount_1(l)
print "%d" % answer_array[-1]
print "%d" % answer_array[-2]
print "%d" % answer_array[-3]

Submission status: Wrong Answer

Solution code:
#! /usr/bin/env python
# -*- coding: utf-8 -*-

def main():
	mountains = []
	for i in range(3):
		mountains.append(int(input()))
	
	mountains = sorted(mountains, reverse = True)

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
#! /usr/bin/env python
# -*- coding: utf-8 -*-

def main():
	mountains = []
	for i in range(3):
		mountains.append(input())
	
	mountains = sorted(mountains, reverse = True)

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

for i in range(10):
    for j in range(i,10):
        if (heights[j] > heights[i]):
            w = heights[i]
            heights[i] = heights[j]
            heights[j] = w

print(heights[0:3])

Submission status: Wrong Answer

Solution code:
Array = []

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

Anum = len(Array)
for i in range(Anum-1,Anum-4,-1):
    print(Array[i])

Submission status: Wrong Answer

Solution code:
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 = []
for _ in range(10):
    array.append(int(input('input integer')))

sorted_array = quicksort(array)
for i in range(3):
    print(sorted_array[9-i])

Submission status: Wrong Answer

Solution code:
# coding: utf-8

list = []

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

slist = sorted(list)

for i in range(3):
    print(slist[i+1])

Submission status: Wrong Answer

Solution code:
from heapq import heappush, heappop
import sys 

def heapsort(itr):
    h=[]
    [heappush(h, int(val)) for val in itr]
    return [heappop(h) for i in range(len(h))]

def rep(s):
    return s.strip()

l = heapsort(list(map(rep, sys.stdin.readlines())))
l.reverse()

print(str(l[0])+' '+str(l[1])+' '+str(l[2]))

Submission status: Wrong Answer

Solution code:
from heapq import heappush, heappop

def heapsort(itr):
    h=[]
    [heappush(h, val) for val in itr]
    return [heappop(h) for i in range(len(h))]

def rep(s):
    return s.strip()

l=[]
lap=l.append
while True:
    try:
        lap(int(input()))
    except EOFError:
        break

l = heapsort(l)
l.reverse()

print(str(l[0])+' '+str(l[1])+' '+str(l[2]))

Submission status: Wrong Answer

Solution code:
a=[]
for i in range(10):
    tmp = input()
    a.append(tmp)
b=sorted(a, reverse=True)
print(b[0])
print(b[1])
print(b[2])

Submission status: Wrong Answer

Solution code:
mt = list()
n = 10

for i in range(n):
    mt.append(int(input()))
mt.sort(reverse=True)
print(mt[0:3])

Submission status: Wrong Answer

Solution code:
l=[]
for _ in range(10):
	l.append(int(raw_input()))
print sorted(l,reverse=True)

Submission status: Wrong Answer

Solution code:
l=[]
for _ in range(10):
	l.append(int(raw_input()))
sorted(l,reverse=True)
for n in range(9):
	print l[0]

Submission status: Wrong Answer

Solution code:
l=[]
for _ in range(10):
	l.append(int(raw_input()))
sorted(l,reverse=True)
for n in range(9):
	print l[n]

Submission status: Wrong Answer

Solution code:
def main():
    l = []
    for _ in range(10):
        l.append(input())
    l = sorted(l, reverse=True)
    for i in range(3):
        print(l[i])
    return None

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
#coding:utf-8
l = [int(raw_input()) for i in range(10)]
l.sort()
for i in range(3):
    print l[7+i]

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
inp=[]

for i in range(0,10):
    inp.append(input())

INP=[0,0,0,0,0,0,0,0,0,0]

for i in range(0,10):
    for j in range(i+1,10):
        if inp[i]==inp[j]:
            INP[i]+=1
            INP[j]+=1
        elif inp[i]<inp[j]:
            INP[j]+=1
        else:
            INP[i]+=1

z = 0

for i in range(9,-1,-1):
    if z >= 3:
        break
    for j in range(0,10):
        if i == INP[j]:
            print(inp[j])
            z+=1
        if z >= 3:
            break

Submission status: Wrong Answer

Solution code:
a=[input() for i in range(10)]
a.sort(reverse=True)
print(*a[:3],sep='\n')

Submission status: Wrong Answer

Solution code:
heightOfMountains = []
for i in range(1, 11):
	heightOfMountains.append(int(input()))
	sorted(heightOfMountains)[-3:]

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
max1 = 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
print(max1)
print(middle)
print(small)

Submission status: Wrong Answer

Solution code:
max1 = 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: Wrong Answer

Solution code:
max1 = 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: Wrong Answer

Solution code:
import sys

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

a.reverse()
print(a[0])
print(a[1])
print(a[2])

Submission status: Wrong Answer

Solution code:
import sys

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

a.reverse()
print(a[len(a)-1])
print(a[len(a)-2])
print(a[len(a)-3])

Submission status: Wrong Answer

Solution code:
ls = []
for i in range(0,10):
    ls.append(int(input()))
ls.sort()
print(ls[7])
print(ls[8])
print(ls[9])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

mountain = []

for _ in range(10):
	mountain.append(int(input()))
	
mountain.sort()
mountain.reverse()

print(mountain[0], mountain[1], mountain[2])

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Here your code !

import sys

n = [int(input()) for i in range (1,11)] 
#t = [int(input()) for i in range(n)] 
n.sort()
n.reverse()

for j in range (1,4):
    print(n[j])

Submission status: Wrong Answer

Solution code:
if __name__=="__main__":
    dataset = []
    for i in range(10):
        a = int(input())
        dataset.append(a)
    print(dataset)
    for j in range(3):
        print(max(dataset))
        dataset.remove(max(dataset))

Submission status: Wrong Answer

Solution code:
from sys import stdin

ns = []
for n in stdin:
  ns.append(n)
ns.sort(reverse = True)
for i in range(3):
  print(ns[i])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input().rstrip())

Submission status: Wrong Answer

Solution code:
mt = list()
for i in range(10):
    mt.append(int(raw_input()))

mt = sorted(mt)
for i in range(3):
    print mt[i]

Submission status: Wrong Answer

Solution code:
import sys

data = []

for d in sys.stdin:
  data.append(d)

data.sort(reverse=True)
for i in xrange(3):
  print data[i], "a"

Submission status: Wrong Answer

Solution code:
import sys

data = []

for d in sys.stdin:
  data.append(d)

data.sort(reverse=True)
for i in xrange(3):
  print data[i]

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main():

    mountains_list = [int(input()) for n in range(10)]
    print(list(reversed(sorted(mountains_list)))[:3])
    
main()

Submission status: Wrong Answer

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

#a = [input() for i in range(N)]
#print a # [a1, a2, a3, ..., aN]

import sys

a = []
for line in sys.stdin:
    a.append(int(line))
#print a # [a1, a2, a3, ...]
sorted(a, reverse=True)
print(a[0])
print(a[1])
print(a[2])

Submission status: Wrong Answer

Solution code:
height = []
while True:
    try:
        line = raw_input("")
    except EOFError:
        break
    height.append(int(line))
sorted(height)[:3]

Submission status: Wrong Answer

Solution code:
A = raw_input()
B = [int(i) for i in A.split()]
sorted(list(B),reverse=True)[:3]

Submission status: Wrong Answer

Solution code:
n=[]
for var in range(0, 10):
  n.append(int(raw_input()))
sorted(n,reverse=True)[:3]

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=[]
for var in range(0, 10):
    n.append(int(raw_input()))
sorted(n,reverse=True)[:3]

Submission status: Wrong Answer

Solution code:
# coding: utf-8
rank = [0,0,0]
for i in range(10):
    t = input()
    if t > rank[0]:
        rank.insert(0, t)
        rank.pop()
    elif t > rank[1]:
        rank.insert(1, t)
        rank.pop()
    elif t > rank[2]:
        rank.insert(2, t)
        rank.pop()
print rank[0], rank[1], rank[2]

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

a = ""
for input in sys.stdin:
    a += input
l = sorted(a.split())
for i in range(len(l)-1,len(l)-4,-1):
    print int(l[i])

Submission status: Wrong Answer

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

a.reverse()
print(a[0])
print(a[1])
print(a[2])

Submission status: Wrong Answer

Solution code:
a = [int(input()) for i in range(3)]

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a = [input() for i in range(10)]

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