ZhenlongDai/ACPR huggingface dataset:
Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())

if a + b == 15 or a * b == 15:
    print('*')
else:
    print('x')


Failing test case input:
4 11

Expected output:
+

Actual output:
*


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())

if a + b == 15:
    print('+')
elif a * b == 15:
    print('*')
else:
    print('x')

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
if a+b == 15:
    print('+')
elif a*b == 15:
    print('*')
else:
    print('X')

Failing test case input:
1 -23

Expected output:
x


Actual output:
X


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if a+b == 15:
    print('+')
elif a*b == 15:
    print('*')
else:
    print('x')

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int,input().split())
if (a+b)%15 == 0:
  print("+")
elif (a*b)%15 == 0:
  print("*")
else:
  print("x")

Failing test case input:
3 -3

Expected output:
x


Actual output:
+


Fixed submission (verdict: Accepted):
a,b = map(int,input().split())
if (a+b) == 15:
  print("+")
elif (a*b) == 15:
  print("*")
else:
  print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
if a + b == 15:
    print("+")
    exit()
elif a * b == 15:
    print("*")
    exit()
else:
    print("×")

Failing test case input:
16 6

Expected output:
x


Actual output:
×


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if a + b == 15:
    print("+")
    exit()
elif a * b == 15:
    print("*")
    exit()
else:
    print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from sys import stdin
from itertools import groupby
a,b = [int(x) for x in stdin.readline().rstrip().split()]
if a+b == 15:
    print("+")
elif a*b == 15:
    print("*")
else:
    print("X")

Failing test case input:
29 -1

Expected output:
x


Actual output:
X


Fixed submission (verdict: Accepted):
from sys import stdin
from itertools import groupby
a,b = [int(x) for x in stdin.readline().rstrip().split()]
if a+b == 15:
    print("+")
elif a*b == 15:
    print("*")
else:
    print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int,input().split())
if (a+b)/15 == 0:
  print("+")
elif (a*b)/15 == 0:
  print("*")
else:
  print("x")

Failing test case input:
42 0

Expected output:
x


Actual output:
*


Fixed submission (verdict: Accepted):
a,b = map(int,input().split())
if (a+b) == 15:
  print("+")
elif (a*b) == 15:
  print("*")
else:
  print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
if a+b == 15:
  print('+')
if a*b == 15:
  print('*')
else:
  print('x')


Failing test case input:
4 11

Expected output:
+

Actual output:
+
x


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if a+b == 15:
  print('+')
elif a*b == 15:
  print('*')
else:
  print('x')
Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int,input().split())

if a+b == 15:
	print('+')
elif a*b == 15:
	print('*')
else:
	print('×')

Failing test case input:
42 0

Expected output:
x


Actual output:
×


Fixed submission (verdict: Accepted):
a, b = map(int,input().split())

if a+b == 15:
	print('+')

if a*b == 15:
	print('*')

if a+b != 15 and a*b != 15:
	print('x')

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int,input().split())
if a+b == 15:
        print("+")
elif a*b == 15:
        print("*")
else:
        print("×")

Failing test case input:
13 3

Expected output:
x


Actual output:
×


Fixed submission (verdict: Accepted):
a,b = map(int,input().split())
if a+b == 15:
        print("+")
elif a*b == 15:
        print("*")
else:
        print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int,input().split())

if(a + b == 15):
  print("+")
elif(a * b == 15):
  print("*")
else:
  print("✕")

Failing test case input:
2 -12

Expected output:
x


Actual output:
✕


Fixed submission (verdict: Accepted):
a, b = map(int,input().split())

if(a + b == 15):
  print("+")
elif(a * b == 15):
  print("*")
else:
  print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
 
if (a+b==15):
  print("+")
elif (a*b==15):
  print("*")
else:
  print("×")

Failing test case input:
2 -12

Expected output:
x


Actual output:
×


Fixed submission (verdict: Accepted):
A, B = map(int, input().split())
if(A+B==15):
    print("+")
elif(A*B==15):
    print("*")
else:
    print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = list(map(int, input().split()))
if(n[0] + n[1] == 15):
    print("+")
elif(n[0] * n[1] == 15):
    print("*")
else:
    print("X")


Failing test case input:
2 -14

Expected output:
x


Actual output:
X


Fixed submission (verdict: Accepted):
n = list(map(int, input().split()))
if(n[0] + n[1] == 15):
    print("+")
elif(n[0] * n[1] == 15):
    print("*")
else:
    print("x")

Problem: p03302
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b = map(int, input().split())

if(a + b == 15 or a * b == 15):
  print("*")
else:
  print("x")

Failing test case input:
4 11

Expected output:
+

Actual output:
*


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())

if(a + b == 15):
  print("+")
elif(a * b == 15):
  print("*")
else:
  print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())

if a + b == 15:
  print('+')
elif a * b == 15:
  print('*')
else:
  print('×')

Failing test case input:
16 6

Expected output:
x


Actual output:
×


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
 
if a + b == 15:
  print('+')
elif a * b == 15:
  print('*')
else:
  print('x')
Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int,input().split())
print('+' if a+b else '*' if a*b else 'x')

Failing test case input:
13 3

Expected output:
x


Actual output:
+


Fixed submission (verdict: Accepted):
a,b = map(int,input().split())
print('+' if a+b==15 else '*' if a*b==15 else 'x')

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int,input().split())
if a+b==15 or a*b==15:
    if a*b==15:
        print("+")
    else:
        print("*")
else:
    print("x")

Failing test case input:
4 11

Expected output:
+

Actual output:
*


Fixed submission (verdict: Accepted):
a,b = map(int,input().split())
if a+b==15 or a*b==15:
    if a*b==15:
        print("*")
    else:
        print("+")
else:
    print("x")

Problem: p03302
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b = map(int, input().split())
if (a+b) == 15:
    print('+')
elif (a*b) == 15:
    print('*')
else:
    print('×')


Failing test case input:
1 -23

Expected output:
x


Actual output:
×


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if (a+b) == 15:
    print('+')
elif (a*b) == 15:
    print('*')
else:
    print('x')

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())

if a*b == 15:
    print("*")
elif a*b == 15:
    print("+")
else:
    print("x")

Failing test case input:
4 11

Expected output:
+

Actual output:
x


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())

if a*b == 15:
    print("*")
elif a+b == 15:
    print("+")
else:
    print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if a+b==15:
    print("+")
else:
    print("*")

Failing test case input:
3 -23

Expected output:
x


Actual output:
*


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a+b==15:
    print("+")
elif a*b==15:
    print("*")
else:
    print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if a*b==15 and a+b==15:
  print("*")
else:
  print("x")

Failing test case input:
4 11

Expected output:
+

Actual output:
x


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a*b==15:
  print("*")
elif a+b==15:
  print("+")
else:
  print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if a+b==15:
    print('*')
elif a*b==15:
    print('+')
else:
    print('x')

Failing test case input:
4 11

Expected output:
+

Actual output:
*


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a+b==15:
    print('+')
elif a*b==15:
    print('*')
else:
    print('x')

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
if a+b == 15:
  print("+")
elif a*b == 15:
  print("*")
else:
  print("×")

Failing test case input:
2 -16

Expected output:
x


Actual output:
×


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if a+b == 15:
  print("+")
elif a*b == 15:
  print("*")
else:
  print("x")
Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())

if a+b==15:
    print('+')
elif a*b==15:
    print('*')
else:
    print('×')


Failing test case input:
3 -3

Expected output:
x


Actual output:
×


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())

if a+b==15:
    print('+')
elif a*b==15:
    print('*')
else:
    print('x')

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int ,input().split()) 
if a+b==15:
    print("+")
elif a*b==15:
    print("*")
else :
    print("×")

Failing test case input:
3 -16

Expected output:
x


Actual output:
×


Fixed submission (verdict: Accepted):
a,b = map(int ,input().split()) 
if a+b==15:
    print("+")
elif a*b==15:
    print("*")
else :
    print("x")

Problem: p03302
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b = map(int, input().split())
if a * b == 15:
  print("*")
elif a + b == 15:
  print("+")
else:
  print("×")

Failing test case input:
13 3

Expected output:
x


Actual output:
×


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if a * b == 15:
  print("*")
elif a + b == 15:
  print("+")
else:
  print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int, input().split())

if a + b ==15:
    print('+')
elif a * b == 15:
    print('*')
else:
    print('×')

Failing test case input:
16 -2

Expected output:
x


Actual output:
×


Fixed submission (verdict: Accepted):
a,b = map(int, input().split())

if a + b ==15:
    print('+')
elif a * b == 15:
    print('*')
else:
    print('x')

Problem: p03302
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b = map(int,input().split())
if a + b == 15:
    print("+")
else:
    print("*")

Failing test case input:
3 -3

Expected output:
x


Actual output:
*


Fixed submission (verdict: Accepted):
a,b = map(int,input().split())
if a + b == 15:
    print("+")
elif a * b == 15:
    print("*")
else:
    print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
if a+b == 15:
    print("+")
    if a*b == 15:
        print("*")
    else:
        print("x")

Failing test case input:
42 0

Expected output:
x


Actual output:

Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if a+b == 15:
    print("+")
elif a*b == 15:
    print("*")
else:
    print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
if a + b == 15:
    print ('+')
elif a * b == 15:
    print('*')
else:
    'x'

Failing test case input:
13 3

Expected output:
x


Actual output:

Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if a + b == 15:
    print ('+')
elif a * b == 15:
    print('*')
else:
    print('x')
Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())

aplusb = a + b
ab = a * b

if aplusb == 15:
    print("+")
if ab == 15:
    print("*")
else:
    print("x")

Failing test case input:
4 11

Expected output:
+

Actual output:
+
x


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())

aplusb = a + b
ab = a * b

if aplusb == 15:
    print("+")
elif ab == 15:
    print("*")
else:
    print("x")

Problem: p03302
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
if a*b==15:
	print('*')
elif a+b==15:
	print('+')
else:
	print('*')

Failing test case input:
1 -23

Expected output:
x


Actual output:
*


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if a*b==15:
	print('*')
elif a+b==15:
	print('+')
else:
	print('x')
Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):

mountain = []

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

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

Failing test case input:
100
200
300
568
500
600
700
1096
900
900

Expected output:
1096
900
900


Actual output:
1096 900 900


Fixed submission (verdict: Accepted):

mountain = []

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

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):


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()

Failing test case input:
100
-8
0
552
011
104
1
1
3
112

Expected output:
552
112
104


Actual output:
552
104
100


Fixed submission (verdict: Accepted):


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

for i in range(0,10):
    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)

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
h = []
for i in range(10):
	h.append(input())
h.sort(reverse=True)
for i in range(3):
	print(h[i])

Failing test case input:
100
-2
-1
4084
000
98
1
24
1
297

Expected output:
4084
297
100


Actual output:
98
4084
297


Fixed submission (verdict: Accepted):
h = []
for i in range(10):
	h.append(int(input()))
h.sort(reverse=True)
for i in range(3):
	print(h[i])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
[print(d) for i, d in enumerate(sorted([i for i in input() for _ in range(10)], reverse=True)) if i < 3]

Failing test case input:
1819
2003
1094
2489
1723
492
4419
2848
2834
1724

Expected output:
4419
2848
2834


Actual output:
9
9
9


Fixed submission (verdict: Accepted):
[print(i) for i in sorted([int(input()) for _ in range(10)], reverse=True)[0:3]]

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
j = []
for i in range(10) :
    j.append(int(input()))
j.reverse()
for k in range(3) :
    print(j[k])

Failing test case input:
1819
236
0011
269
43
93
3782
6789
-1
43

Expected output:
6789
3782
1819


Actual output:
43
-1
6789


Fixed submission (verdict: Accepted):
j = []
for i in range(10) :
    j.append(int(input()))
j.sort(reverse = True)
for k in range(3) :
    print(j[k])
Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
[print(i) for i, in sorted([i for i in input() for _ in range(10)], reverse=True)[0:3]]

Failing test case input:
100
68
691
540
254
52
3826
1182
431
251

Expected output:
3826
1182
691


Actual output:
1
1
1


Fixed submission (verdict: Accepted):
[print(i) for i in sorted([int(input()) for _ in range(10)], reverse=True)[0:3]]

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
hight = []

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

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

Failing test case input:
100
94
342
568
500
600
1422
2053
476
205

Expected output:
2053
1422
600


Actual output:
94
100
205


Fixed submission (verdict: Accepted):
hight = []

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

hight.sort(reverse=True)
print(hight[0])
print(hight[1])
print(hight[2])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
n = 0
list = []
while n < 10:
    x = input()
    list.append(x)
    n += 1

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

Failing test case input:
1819
2003
1094
2489
1142
492
4419
4289
2834
1724

Expected output:
4419
4289
2834


Actual output:
492
4419
4289


Fixed submission (verdict: Accepted):
n = 0
list = []
while n < 10:
    x = int(input())
    list.append(x)
    n += 1

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
s=[]
for i in range(10):
    s.append(int(input()))
s.sort()
for i in range(3):
    print(s[i])

Failing test case input:
100
200
300
568
500
600
700
1096
900
900

Expected output:
1096
900
900


Actual output:
100
200
300


Fixed submission (verdict: Accepted):
s=[]
for i in range(10):
    s.append(int(input()))
s.sort()
for i in range(3):
    print(s[9-i])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):





import sys

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

sorted(a, reverse=True)
print(a[0])
print(a[1])
print(a[2])

Failing test case input:
1819
856
1100
316
100
126
672
1787
-1
18

Expected output:
1819
1787
1100


Actual output:
1819
856
1100


Fixed submission (verdict: Accepted):





import sys

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

a.sort(reverse=True)
print(a[0])
print(a[1])
print(a[2])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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()

Failing test case input:
1819
856
1100
316
100
126
672
1787
-1
18

Expected output:
1819
1787
1100


Actual output:
0
1
2


Fixed submission (verdict: Accepted):
def main():
    a = []
    for i in range(10):
        a.append(int(input()))

    a.sort()
    a.reverse()

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

if __name__ == '__main__':
    main()
Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
m = [int(input()) for _ in range(10)]
m.sort()
[print(m[-i] for i in range(1, 4))]


Failing test case input:
100
21
1
1435
110
27
347
363
334
251

Expected output:
1435
363
347


Actual output:
<generator object <genexpr> at 0x7f4f483d1630>


Fixed submission (verdict: Accepted):
m = [int(input()) for _ in range(10)]
m.sort()
[print(m[-i]) for i in range(1, 4)]

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
l = []
for i in range(10):
    l.append(int(input()))
l.sort()
for i in range(3):
    print(l[i])


Failing test case input:
100
26
755
411
254
34
2360
438
249
251

Expected output:
2360
755
438


Actual output:
26
34
100


Fixed submission (verdict: Accepted):
l = []
for i in range(10):
    l.append(int(input()))
l.sort()
for i in range(3):
    print(l[9-i])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
heightOfMountains = []
for i in range(1, 11):
	heightOfMountains.append(int(input()))
	sorted(heightOfMountains)[-3:]

Failing test case input:
1819
224
1094
2489
453
71
2542
12727
2834
94

Expected output:
12727
2834
2542


Actual output:

Fixed submission (verdict: Accepted):
heightOfMountains = []
for i in range(1, 11):
	heightOfMountains.append(int(input()))
heightOfMountains.sort()
for i in range(1, 4):
	print(heightOfMountains[-i])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
mt = list()
n = 10

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

Failing test case input:
100
-8
0
901
011
193
1
1
3
112

Expected output:
901
193
112


Actual output:
[901, 193, 112]


Fixed submission (verdict: Accepted):
mt = list()
n = 10

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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])

Failing test case input:
100
-8
0
552
011
104
1
1
3
112

Expected output:
552
112
104


Actual output:
552
3
112


Fixed submission (verdict: Accepted):

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
list=list()
for i in range(10):
    t=input()
    list.append(int(t))
list.sort()
for i in range(3):
    print(list[i])

Failing test case input:
1819
856
1000
316
100
126
672
2715
0
30

Expected output:
2715
1819
1000


Actual output:
0
30
100


Fixed submission (verdict: Accepted):
list=list()
for i in range(10):
    t=input()
    list.append(int(t))
list.sort(reverse=True)
for i in range(3):
    print(list[i])
Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):



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()

Failing test case input:
100
-8
0
780
011
193
1
1
3
112

Expected output:
780
193
112


Actual output:
100
0
-8


Fixed submission (verdict: Accepted):



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

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


if __name__ == '__main__':
    main()

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
def main():
    a=[]
    for i in range(10):
        a.append(int(input()))
    a.sort()
    for j in range(-1, -4, -1):
        print(a[j])



Failing test case input:
1819
2003
1094
2489
1723
492
4419
2848
2834
1724

Expected output:
4419
2848
2834


Actual output:

Fixed submission (verdict: Accepted):
a=[]
for i in range(10):
    a.append(int(input()))
a.sort()
for j in range(-1, -4, -1):
    print(a[j])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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])

Failing test case input:
100
94
342
568
500
600
1422
2053
476
205

Expected output:
2053
1422
600


Actual output:
205
476
2053


Fixed submission (verdict: Accepted):
array=[int(input()) for i in range(10)]
array.sort()
num = len(array)
for i in range(num-1,num-4,-1):
    print(array[i])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
ls = []
for i in range(0,10):
    ls.append(int(input()))
ls.sort()
print(ls[7])
print(ls[8])
print(ls[9])

Failing test case input:
100
68
342
436
413
52
3826
1182
431
205

Expected output:
3826
1182
436


Actual output:
436
1182
3826


Fixed submission (verdict: Accepted):
ls = []
for i in range(0,10):
    ls.append(int(input()))
ls.sort()
print(ls[9])
print(ls[8])
print(ls[7])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):





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])

Failing test case input:
100
-8
0
651
010
104
1
1
3
112

Expected output:
651
112
104


Actual output:
651
3
112


Fixed submission (verdict: Accepted):





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

li.sort()
li.reverse()

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
def main():
    a=[]
    for i in range(10):
        a.append(int(input()))
    a.sort()
    for j in range(-1, -4, -1):
        print(a[j], end="")





Failing test case input:
100
343
380
568
500
600
720
2053
476
205

Expected output:
2053
720
600


Actual output:

Fixed submission (verdict: Accepted):
a=[]
for i in range(10):
    a.append(int(input()))
a.sort()
for j in range(-1, -4, -1):
    print(a[j])
Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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])


Failing test case input:
1819
385
1094
699
421
71
4093
13928
807
46

Expected output:
13928
4093
1819


Actual output:
Height of mountain 1:Height of mountain 2:Height of mountain 3:Height of mountain 4:Height of mountain 5:Height of mountain 6:Height of mountain 7:Height of mountain 8:Height of mountain 9:Height of mountain 10:13928
4093
1819


Fixed submission (verdict: Accepted):
Height = [0]*10

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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])

Failing test case input:
1819
856
1000
316
100
126
672
2715
0
30

Expected output:
2715
1819
1000


Actual output:
input integerinput integerinput integerinput integerinput integerinput integerinput integerinput integerinput integerinput integer2715
1819
1000


Fixed submission (verdict: Accepted):
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()))

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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

Failing test case input:
100
68
691
540
254
52
2360
1154
431
251

Expected output:
2360
1154
691


Actual output:
691
68
540


Fixed submission (verdict: Accepted):
a=[]

for i in range(0,10):
    a.append(input())
inp = list(map(int,a))

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[j]+=1
        elif inp[i]>inp[j]:
            INP[i]+=1
        else:
            INP[i]+=1
            INP[j]+=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
Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
lis=[]
for i in range(10):
  lis.append(input())
 
for i,j in enumerate(sorted(lis,reverse=True)):
  print(j)
  if i==3:
    break

Failing test case input:
1819
856
1110
316
101
126
8120
1787
-1
15

Expected output:
8120
1819
1787


Actual output:
856
8120
316
1819


Fixed submission (verdict: Accepted):
lis=[]
for i in range(10):
  lis.append(int(input()))
 
for i in sorted(lis,reverse=True)[:3]:
  print(i)

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
def main():

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

Failing test case input:
1819
385
1094
699
453
71
2542
12727
5385
94

Expected output:
12727
5385
2542


Actual output:
[12727, 5385, 2542]


Fixed submission (verdict: Accepted):
def main():

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
lis=[]
for i in range(10):
  lis.append(input())
 
for i in enumerate(sorted(lis,reverse=True)[:3]):
  print(i)

Failing test case input:
1819
645
0011
374
414
62
3676
6789
0
177

Expected output:
6789
3676
1819


Actual output:
(0, '6789')
(1, '645')
(2, '62')


Fixed submission (verdict: Accepted):
lis=[]
for i in range(10):
  lis.append(int(input()))
 
for i in sorted(lis,reverse=True)[:3]:
  print(i)

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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])

Failing test case input:
100
-2
-4
629
010
145
2
1
4
112

Expected output:
629
145
112


Actual output:
112
4
1


Fixed submission (verdict: Accepted):
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])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
n = 0
list = []
while n < 10:
    x = input()
    list.append(x)
    n += 1

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

Failing test case input:
100
-2
-1
6269
000
98
1
24
1
297

Expected output:
6269
297
100


Actual output:
297
6269
98


Fixed submission (verdict: Accepted):
n = 0
list = []
while n < 10:
    x = int(input())
    list.append(x)
    n += 1

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
N = 10
mnts = []

for i in range(N):
    mnts.append(int(input()))

mnts.sort(reverse=True)
print(mnts)

for mnt in mnts[:3]:
    print(mnt)



Failing test case input:
100
-2
-1
6269
000
98
1
24
1
297

Expected output:
6269
297
100


Actual output:
[6269, 297, 100, 98, 24, 1, 1, 0, -1, -2]
6269
297
100


Fixed submission (verdict: Accepted):
N = 10
mnts = []

for i in range(N):
    mnts.append(int(input()))

mnts.sort(reverse=True)

for mnt in mnts[:3]:
    print(mnt)
Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
lis=[]
for i in range(10):
  lis.append(input())

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

Failing test case input:
100
94
342
667
500
600
1422
2053
476
205

Expected output:
2053
1422
667


Actual output:
0
1
2
3


Fixed submission (verdict: Accepted):
lis=[]
for i in range(10):
  lis.append(int(input()))
 
for i in sorted(lis,reverse=True)[:3]:
  print(i)

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
list = []
for i in range(10):
    list.append(input())

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

Failing test case input:
100
-2
-1
6269
000
98
1
24
1
297

Expected output:
6269
297
100


Actual output:
98
6269
297


Fixed submission (verdict: Accepted):
list = []
for i in range(10):
    list.append(int(input()))
  
list.sort(reverse = True)
for j in range(3):
    print(list[j])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
lis=[]
for i in range(10):
  lis.append(input())
 
for i,j in enumerate(sorted(lis,reverse=True)):
  print(j)
  if i==2:
    break

Failing test case input:
1819
793
0011
684
101
122
5706
3033
-1
43

Expected output:
5706
3033
1819


Actual output:
793
684
5706


Fixed submission (verdict: Accepted):
lis=[]
for i in range(10):
  lis.append(int(input()))
 
for i in sorted(lis,reverse=True)[:3]:
  print(i)

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
data = []
for i in range(0,10):
    data.append(input())

print()

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



Failing test case input:
1819
1594
1010
107
101
29
1108
310
-1
15

Expected output:
1819
1594
1108


Actual output:

310
29
1819


Fixed submission (verdict: Accepted):
data = []
for i in range(0,10):
    data.append(int(input()))


data.sort()
data.reverse()

for i in range(0,3):
    print(data[i])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
a=[int(input()) for i in range(10)]
a.sort()
a.reverse()
print(a[0:2]) 

Failing test case input:
100
26
755
411
254
34
2360
438
249
251

Expected output:
2360
755
438


Actual output:
[2360, 755]


Fixed submission (verdict: Accepted):
a=[int(input()) for i in range(10)]
a.sort()
a.reverse()
print(a[0])
print(a[1])
print(a[2])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):



import sys

n = [int(input()) for i in range (1,11)] 

n.sort()
n.reverse()

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

Failing test case input:
1819
793
0011
684
101
122
5706
7392
-1
43

Expected output:
7392
5706
1819


Actual output:
5706
1819
793


Fixed submission (verdict: Accepted):



import sys

n = [int(input()) for i in range (1,11)] 

n.sort()
n.reverse()

for j in range (0,3):
    print(n[j])
Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
num = 10
top = 3
mountains = [input() for i in range(num)]
mountains = sorted(mountains, reverse=True)
for i in range(top):
    print(mountains[i])


Failing test case input:
1819
385
1094
699
421
71
4093
11705
631
93

Expected output:
11705
4093
1819


Actual output:
93
71
699


Fixed submission (verdict: Accepted):
num = 10
top = 3
mountains = [int(input()) for i in range(num)]
mountains = sorted(mountains, reverse=True)
for i in range(top):
    print(mountains[i])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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)

Failing test case input:
100
-4
-4
2950
010
145
1
0
2
79

Expected output:
2950
145
100


Actual output:
2950
145
100
[2950, 145, 100, 79, 10, 2, 1, 0, -4, -4]


Fixed submission (verdict: Accepted):
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])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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))

Failing test case input:
1819
473
0111
706
414
62
4945
21428
308
96

Expected output:
21428
4945
1819


Actual output:
[1819, 473, 111, 706, 414, 62, 4945, 21428, 308, 96]
21428
4945
1819


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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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]))

Failing test case input:
1819
1130
1010
217
101
126
1108
176
0
15

Expected output:
1819
1130
1108


Actual output:
0
15
101


Fixed submission (verdict: Accepted):
import sys

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
ans=[]
for i in range (0,10):
    ans.append(input())
ans.sort(reverse=True)
for i in range (0,3):
    print(ans[i])

Failing test case input:
1819
2003
1094
2489
1142
492
4419
4289
2834
1724

Expected output:
4419
4289
2834


Actual output:
492
4419
4289


Fixed submission (verdict: Accepted):
ans=[]
for i in range (0,10):
    ans.append(int(input()))
ans.sort(reverse=True)
for i in range (0,3):
    print(ans[i])
Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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])

Failing test case input:
100
68
342
436
413
52
3826
1182
431
205

Expected output:
3826
1182
436


Actual output:
3826
1182
436
431
413
342
205
100
68
52


Fixed submission (verdict: Accepted):
inputList = []
while True:
    try:
        num = int(input())
    except EOFError:
        break
    inputList.append(num)

inputList.sort()
length = len(inputList)
for i in range(3):
    print(inputList[length - i - 1])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):





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

li.reverse()

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

Failing test case input:
1819
856
1111
270
101
65
5706
1294
-1
28

Expected output:
5706
1819
1294


Actual output:
28
-1
1294


Fixed submission (verdict: Accepted):





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

li.sort()
li.reverse()

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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)


Failing test case input:
1819
321
0011
684
43
93
5706
4814
-1
43

Expected output:
5706
4814
1819


Actual output:
Height of mountain1Height of mountain2Height of mountain3Height of mountain4Height of mountain5Height of mountain6Height of mountain7Height of mountain8Height of mountain9Height of mountain1093
684
5706
4814
43
43
321
1819
0011
-1


Fixed submission (verdict: Accepted):
mount_list = []

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

mount_list.sort(reverse = True)

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
list = []
for i in range(10):
    list.append(input())
 
list.sort(reverse = True)
for i in range(3):
    print(int(list[i]))

Failing test case input:
1819
385
1010
1178
421
62
4093
21428
308
46

Expected output:
21428
4093
1819


Actual output:
62
46
421


Fixed submission (verdict: Accepted):
list = []
for i in range(10):
    list.append(int(input()))
  
list.sort(reverse = True)
for j in range(3):
    print(list[j])
Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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)


Failing test case input:
100
68
691
540
254
52
2360
1154
431
251

Expected output:
2360
1154
691


Actual output:
Height of mountain1:Height of mountain2:Height of mountain3:Height of mountain4:Height of mountain5:Height of mountain6:Height of mountain7:Height of mountain8:Height of mountain9:Height of mountain10:2360
1154
691
540
431
254
251
100
68
52


Fixed submission (verdict: Accepted):
mount_list = []

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

mount_list.sort(reverse = True)

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
num = 3
mountains = list(map(int, input()))
mountains = sorted(mountains, reverse=True)
for i in range(num):
    print(mountains[i])


Failing test case input:
100
68
691
540
254
52
2360
1154
431
251

Expected output:
2360
1154
691


Actual output:
1
0
0


Fixed submission (verdict: Accepted):
num = 10
top = 3
mountains = [int(input()) for i in range(num)]
mountains = sorted(mountains, reverse=True)
for i in range(top):
    print(mountains[i])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
lis=[]
for i in range(10):
  lis.append(input())
 
for i in sorted(lis,reverse=True)[:3]:
  print(i)

Failing test case input:
1819
856
1110
316
101
126
8120
1787
-1
15

Expected output:
8120
1819
1787


Actual output:
856
8120
316


Fixed submission (verdict: Accepted):
lis=[]
for i in range(10):
  lis.append(int(input()))
 
for i in sorted(lis,reverse=True)[:3]:
  print(i)

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):



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()

Failing test case input:
100
21
1
1435
110
27
2635
363
334
251

Expected output:
2635
1435
363


Actual output:
21
100
1


Fixed submission (verdict: Accepted):



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

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


if __name__ == '__main__':
    main()

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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()

Failing test case input:
1819
321
0011
684
43
93
5706
4814
-1
43

Expected output:
5706
4814
1819


Actual output:
93
684
5706


Fixed submission (verdict: Accepted):
def main():
    l = []
    for _ in range(10):
        l.append(int(input()))
    l = sorted(l, reverse=True)
    for i in range(3):
        print(l[i])
    return None

if __name__ == '__main__':
    main()
Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):


list = []

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

slist = sorted(list)

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

Failing test case input:
100
94
342
667
413
1060
1422
1182
476
205

Expected output:
1422
1182
1060


Actual output:
100
205
342


Fixed submission (verdict: Accepted):


list = []

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

slist = sorted(list)

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
a = []
for i in range(10):
    a.append(input())
a = a.sort(reverse=True)
for i in range(3):
    print(i)

Failing test case input:
100
-8
0
901
011
104
1
1
3
112

Expected output:
901
112
104


Actual output:
0
1
2


Fixed submission (verdict: Accepted):
a = []
for i in range(10):
    a.append(input())
a = sorted(a, key=int, reverse=True)
for i in a[0:3]:
    print(i)

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
s=[int(input(x)) for x in range(10)]
print(sorted(s)[-1])
print(sorted(s)[-2])
print(sorted(s)[-3])

Failing test case input:
1819
224
1094
2489
453
71
2542
12727
2834
94

Expected output:
12727
2834
2542


Actual output:
012345678912727
2834
2542


Fixed submission (verdict: Accepted):
s=[int(input()) for x in range(10)]
print(sorted(s)[-1])
print(sorted(s)[-2])
print(sorted(s)[-3])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
mh=[]

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

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


Failing test case input:
1819
793
0011
684
101
122
5706
3736
-1
43

Expected output:
5706
3736
1819


Actual output:
[5706, 3736, 1819]


Fixed submission (verdict: Accepted):
mh=[]

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

mh.sort(reverse=True)
print(mh[0])
print(mh[1])
print(mh[2])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
hills = [input() for _ in range(10)]
hills = list(map(int, hills))
hills.sort

for i in range(3):
    print(hills.pop())



Failing test case input:
1819
385
1094
699
453
71
2542
12727
351
94

Expected output:
12727
2542
1819


Actual output:
94
351
12727


Fixed submission (verdict: Accepted):
hills = [input() for _ in range(10)]
hills = list(map(int, hills))
hills.sort()

for i in range(3):
    print(hills.pop())

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
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])

Failing test case input:
100
-8
0
901
011
104
1
1
3
112

Expected output:
901
112
104


Actual output:
[901, 112, 104]


Fixed submission (verdict: Accepted):
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

for i in range(3):
    print(heights[i])
Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
a = []
for i in range(10):
    a.append(int(input()))
a.sort
print(a[9])
print(a[8])
print(a[7])

Failing test case input:
100
343
380
568
500
600
720
2053
476
205

Expected output:
2053
720
600


Actual output:
205
476
2053


Fixed submission (verdict: Accepted):
a = []
for i in range(10):
    a.append(int(input()))
a.sort()
print(a[9])
print(a[8])
print(a[7])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
mountains = []

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

mountains.sort()

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


Failing test case input:
100
94
342
667
413
1060
1422
1182
476
205

Expected output:
1422
1182
1060


Actual output:
94
100
205


Fixed submission (verdict: Accepted):
mountains = []

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

mountains.sort(reverse=True)

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
def main():
    a=[]
    for i in range(10):
        a.append(int(input()))
    a.sort()
    for j in range(-1, -4, -1):
        print(a[j])


Failing test case input:
100
343
380
568
500
600
720
1096
900
205

Expected output:
1096
900
720


Actual output:

Fixed submission (verdict: Accepted):
a=[]
for i in range(10):
    a.append(int(input()))
a.sort()
for j in range(-1, -4, -1):
    print(a[j])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
spam = [int(input()) for i in range(0, 10)]
spam.sort()
spam.reverse()
for i in range(1, 3):
    print('{}'.format(spam[i]))

Failing test case input:
100
343
380
568
500
600
720
1096
900
205

Expected output:
1096
900
720


Actual output:
900
720


Fixed submission (verdict: Accepted):
spam = [int(input()) for i in range(0, 10)]
spam.sort()
spam.reverse()
for i in range(0,3):
    print(spam[i])

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):





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

li.sort()
li.reverse()

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

Failing test case input:
1819
2003
1094
2489
1142
71
4419
7860
2834
1724

Expected output:
7860
4419
2834


Actual output:
7860
71
4419


Fixed submission (verdict: Accepted):





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

li.sort()
li.reverse()

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

Problem: p00001
Buggy submission (Python3, verdict: Wrong Answer):
m=[input() for i in range(10)]
m.sort()
m.reverse()
print("{0}\n{1}\n{2}".format(m[0],m[1],m[2]))

Failing test case input:
100
21
755
1780
100
27
1659
438
334
251

Expected output:
1780
1659
755


Actual output:
755
438
334


Fixed submission (verdict: Accepted):


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