Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
n=int(input())
for i in range(n):
   n[1]=n[i]
   s=sum(n)
   m=min(n)
   ma=max(n)
   print(m,ma,s)


Fixed submission:
n=int(input())
r=input().split()
for i in range(len(r)):
    r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m,ma,s)

Buggy python submission (verdict: Runtime Error):
n=int(input())
for i in range(n):
   n[1]=n[i]
   s=sum(n)
   m=min(n)
   ma=max(n)
   print(m ma s)


Fixed submission:
n=int(input())
r=input().split()
for i in range(len(r)):
    r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m,ma,s)

Buggy python submission (verdict: Runtime Error):
n=int(input())
n=input().split()
for i in range(n):
   n[1]=n[i]
   s=sum(n)
   m=min(n)
   ma=max(n)
   print(m ma s)


Fixed submission:
n=int(input())
r=input().split()
for i in range(len(r)):
    r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m,ma,s)

Buggy python submission (verdict: Runtime Error):
n=int(input())
n=input().split()
for i in range(len(n)):
   n[1]=int(n[i])
   s=sum(n)
   m=min(n)
   ma=max(n)
   print(m ma s)


Fixed submission:
n=int(input())
r=input().split()
for i in range(len(r)):
    r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m,ma,s)

Buggy python submission (verdict: Runtime Error):
n=int(input())
n=input().split()
for i in range(len(n)):
   n[1]=int(n[i])
s=sum(n)
m=min(n)
ma=max(n)
print(m ma s)


Fixed submission:
n=int(input())
r=input().split()
for i in range(len(r)):
    r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m,ma,s)

Buggy python submission (verdict: Runtime Error):
n=int(input())
n=input().split()
for i in range(len(n)):
     n[i]=int(n[i])
s=sum(n)
m=min(n)
ma=max(n)
print(m ma s)


Fixed submission:
n=int(input())
r=input().split()
for i in range(len(r)):
    r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m,ma,s)

Buggy python submission (verdict: Runtime Error):
n=int(input())
r=input().split()
for i in range(r):
     r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m ma s)


Fixed submission:
n=int(input())
r=input().split()
for i in range(len(r)):
    r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m,ma,s)

Buggy python submission (verdict: Runtime Error):
n=int(input())
r=input().split()
for i in range(r):
    r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m ma s)


Fixed submission:
n=int(input())
r=input().split()
for i in range(len(r)):
    r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m,ma,s)

Buggy python submission (verdict: Runtime Error):
n=int(input())
r=input().split()
for i in range(r):
    r[i]=r[i]
s=sum(r)
m=min(r)
ma=max(r)
print(m ma s)


Fixed submission:
n=int(input())
r=input().split()
for i in range(len(r)):
    r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m,ma,s)

Buggy python submission (verdict: Runtime Error):
n=int(input())
r=input().split()
for i in range(len(r)):
    r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m ma s)


Fixed submission:
n=int(input())
r=input().split()
for i in range(len(r)):
    r[i]=int(r[i])
s=sum(r)
m=min(r)
ma=max(r)
print(m,ma,s)
Buggy python submission (verdict: Runtime Error):
while 1:
     n=input().split()
     w=int(x[0])
     h=int(x[1])
     if h==w==0:
       break
     for i in range (h):
         if i==0 or i==h-1:
            print("#"*w)
         else:
             print("#", "."*(w-2), "#")
     print()


Fixed submission:
while True:
    x=input().split()
    a=int(x[0])
    b=int(x[1])
    if a ==0 and b==0:
        break
    print("#"*b)
    for i in range(a-2):
        print("#"+"."*(b-2)+"#")
    print("#"*b)
    print("")

Buggy python submission (verdict: Runtime Error):
while 1:
     n=input().split()
     w=int(x[0])
     h=int(x[1])
     if h==w==0:
       break
     for i in range (h):
         if i==0 or i==h-1:
            print("#"*w)
         else:
             print("#" "."*(w-2), "#")
     print()


Fixed submission:
while True:
    x=input().split()
    a=int(x[0])
    b=int(x[1])
    if a ==0 and b==0:
        break
    print("#"*b)
    for i in range(a-2):
        print("#"+"."*(b-2)+"#")
    print("#"*b)
    print("")
Buggy python submission (verdict: Runtime Error):
print(x**3)


Fixed submission:
x=input()
print(x**3)

Buggy python submission (verdict: Runtime Error):
print (input())**3

Fixed submission:
x = int(input())
print(x**3)

Buggy python submission (verdict: Runtime Error):
print (input())**3

Fixed submission:
x = int(input())
print(x**3)

Buggy python submission (verdict: Runtime Error):
x = input()
print(x**3)

Fixed submission:
x = int(input())
print(x**3)
Buggy python submission (verdict: Runtime Error):
a = int(input())
b = int(input())
l = a*b
print(l)
k = (a + b) * 2
print(k)

Fixed submission:
a, b = map(int, input().split())
print(a*b, 2*(a+b))

Buggy python submission (verdict: Runtime Error):
a = int(input())
b = int(input())
l = a*b
print(l)
k = (a + b) * 2
print(k)

Fixed submission:
a, b = map(int, input().split())
print(a*b, 2*(a+b))

Buggy python submission (verdict: Runtime Error):
a, b = map(int, raw_input().split())
print('%d %d' % (a*b, (a+b)*2)

Fixed submission:
a, b = map(int, input().split())
print(a*b, 2*(a+b))

Buggy python submission (verdict: Runtime Error):
a, b = map(int, raw_input().split())
print("%d %d" % (a*b, (a+b)*2))

Fixed submission:
a, b = map(int, input().split())
print(a*b, 2*(a+b))

Buggy python submission (verdict: Runtime Error):
list = input().split(' ')

area = list[0] * list[1]

circum = (list[0] + list[1]) * 2

print(str(area) + " " + str(circum))

Fixed submission:
list = input().split(' ')

x = int(list[0])

y = int(list[1])

x1 = x * y
y1 = (x + y) * 2

print(str(x1) + ' ' + str(y1))

Buggy python submission (verdict: Runtime Error):
list = input().split(' ')

print(str(list[0] * list[1]) + ' ' + str((list[0] + list[1]) * 2)

Fixed submission:
list = input().split(' ')

x = int(list[0])

y = int(list[1])

x1 = x * y
y1 = (x + y) * 2

print(str(x1) + ' ' + str(y1))

Buggy python submission (verdict: Runtime Error):
list = input().split(' ')

x = int(list[0]) * int(list[1])
y = (int(list[0]) + int(list[1])) * 2

print('{} {}').format(x,y)

Fixed submission:
list = input().split(' ')

x = int(list[0])

y = int(list[1])

x1 = x * y
y1 = (x + y) * 2

print(str(x1) + ' ' + str(y1))
Buggy python submission (verdict: Runtime Error):
list = input()
a = int(list[0])
b = int(list[1])

if(a > b):
    print("a > b")
elif(a == b):
    print("a == b")
else:
    print("a < b")

Fixed submission:
list = input().split(" ")
a = int(list[0])
b = int(list[1])

if a > b:
    print("a > b")
elif a == b:
    print("a == b")
else:
    print("a < b")

Buggy python submission (verdict: Runtime Error):
list = input()
a = int(list[0])
b = int(list[1])

if a > b:
    print("a > b")
elif a == b:
    print("a == b")
else:
    print("a < b")

Fixed submission:
list = input().split(" ")
a = int(list[0])
b = int(list[1])

if a > b:
    print("a > b")
elif a == b:
    print("a == b")
else:
    print("a < b")
Buggy python submission (verdict: Runtime Error):
list = map(int, input().split(" "))

list = map(str, list.sort())

print(list[0] + " " + list[1] + " " + list[2])

Fixed submission:
list1 = input().split(" ")
list2 = list(map(int, list1))
list3 = sorted(list2)
list4 = list(map(str, list3))
answer_string = " ".join(list4)

print(answer_string)

Buggy python submission (verdict: Runtime Error):
list = map(int, input().split(" "))
print(list)
list = map(str, list.sort())
print(list)
print(list[0] + " " + list[1] + " " + list[2])

Fixed submission:
list1 = input().split(" ")
list2 = list(map(int, list1))
list3 = sorted(list2)
list4 = list(map(str, list3))
answer_string = " ".join(list4)

print(answer_string)

Buggy python submission (verdict: Runtime Error):
list1 = input().split(" ")
list2 = list(map(int, list1))
list3 = list2.sort()
list4 = list(map(str, list3))
answer_string = " ".join(list4)

print(answer_string)

Fixed submission:
list1 = input().split(" ")
list2 = list(map(int, list1))
list3 = sorted(list2)
list4 = list(map(str, list3))
answer_string = " ".join(list4)

print(answer_string)
Buggy python submission (verdict: Runtime Error):
import sys

list_1 = input().split(" ")
list_2 = list(map(int, list_1))

w = list_2[0]
h = list_2[1]
x = list_2[2]
y = list_2[3]
r = list_2[4]

if !(abs(x - r) < abs(w) && abs(x + r) < abs(w)):
    print("NO")
    sys.exit()

if !(abs(y - r) < abs(h) && abs(y + r) < abs(h)):
    print("NO")
    sys.exit()

print("YES")

Fixed submission:
import sys

input_list = input().split(" ")
input_list = list(map(int, input_list))

w = input_list[0]
h = input_list[1]
x = input_list[2]
y = input_list[3]
r = input_list[4]

if 0 <= x - r and x + r <= w:
    if 0 <= y - r and y + r <= h:
        print("Yes")
        sys.exit()

print("No")

Buggy python submission (verdict: Runtime Error):
import sys

list_1 = input().split(" ")
list_2 = list(map(int, list_1))

w = list_2[0]
h = list_2[1]
x = list_2[2]
y = list_2[3]
r = list_2[4]

if !(abs(x - r) < abs(w) and abs(x + r) < abs(w)):
    print("NO")
    sys.exit()

if !(abs(y - r) < abs(h) and abs(y + r) < abs(h)):
    print("NO")
    sys.exit()

print("YES")

Fixed submission:
import sys

input_list = input().split(" ")
input_list = list(map(int, input_list))

w = input_list[0]
h = input_list[1]
x = input_list[2]
y = input_list[3]
r = input_list[4]

if 0 <= x - r and x + r <= w:
    if 0 <= y - r and y + r <= h:
        print("Yes")
        sys.exit()

print("No")

Buggy python submission (verdict: Runtime Error):
import sys

list_1 = input().split(" ")
list_2 = list(map(int, list_1))

w = list_2[0]
h = list_2[1]
x = list_2[2]
y = list_2[3]
r = list_2[4]

checker_boy(x + r, w)
checker_boy(x - r, w)
checker_boy(y + r, h)
checker_boy(y - r, h)

print("Yes")

def checker_boy(x_r, n):
  if x_r == 0:
    return 0
  if n * x_r / x_r * x_r >= 0:
    pass
  else:
    print("No")
    sys.exit()

  

Fixed submission:
import sys

input_list = input().split(" ")
input_list = list(map(int, input_list))

w = input_list[0]
h = input_list[1]
x = input_list[2]
y = input_list[3]
r = input_list[4]

if 0 <= x - r and x + r <= w:
    if 0 <= y - r and y + r <= h:
        print("Yes")
        sys.exit()

print("No")
Buggy python submission (verdict: Runtime Error):
import sys

list_line = sys.stdin.readlines()

list_line = list(map(sprit, list_line)) #??°???(string???)??????????????????????????????

counter = 1
for i in list_line:
    if i != '0':
        print("Case %d:%s" % (counter, i))
        counter += 1
    else:
        counter = 1

Fixed submission:
import sys

list_line = sys.stdin.readlines()

for index, element in enumerate(list_line):
    list_line[index] = element.rstrip('\n')

counter = 1
for i in list_line:
    if i != '0':
        print("Case %d: %s" % (counter, i))
        counter += 1
    else:
        counter = 1

Buggy python submission (verdict: Runtime Error):
import numpy

Fixed submission:
import sys

list_line = sys.stdin.readlines()

for index, element in enumerate(list_line):
    list_line[index] = element.rstrip('\n')

counter = 1
for i in list_line:
    if i != '0':
        print("Case %d: %s" % (counter, i))
        counter += 1
    else:
        counter = 1
Buggy python submission (verdict: Runtime Error):
import sys

#f = open('sample.txt', 'r')

list_line = sys.stdin.readlines()

for index, element in enumerate(list_line):
    list_line[index] = element.rstrip('\n')

for element in list_line:
    if int(element[0]) == 0 and int(element[2]) == 0:
        sys.exit()
    if(int(element[0]) > int(element[2])):
        print(element[2] + " " + element[0])
    else:
        print(element)

Fixed submission:
import sys


list_line = sys.stdin.readlines()

for index, element in enumerate(list_line):
    list_line[index] = element.rstrip('\n')

for element in list_line:
    x_y_list = element.split(" ")
    x = int(x_y_list[0])
    y = int(x_y_list[1])
    if x == 0 and y == 0:
        sys.exit()
    if x > y:
        print(str(y) + " " + str(x))
    else:
        print(element)

Buggy python submission (verdict: Runtime Error):
import sys


list_line = sys.stdin.readlines()

for index, element in enumerate(list_line):
    list_line[index] = element.rstrip('\n')

for element in list_line:
    if int(element[0]) == 0 and int(element[2]) == 0:
        sys.exit()
    if(int(element[0]) > int(element[2])):
        print(element[2] + " " + element[0])
    else:
        print(element)

Fixed submission:
import sys


list_line = sys.stdin.readlines()

for index, element in enumerate(list_line):
    list_line[index] = element.rstrip('\n')

for element in list_line:
    x_y_list = element.split(" ")
    x = int(x_y_list[0])
    y = int(x_y_list[1])
    if x == 0 and y == 0:
        sys.exit()
    if x > y:
        print(str(y) + " " + str(x))
    else:
        print(element)
Buggy python submission (verdict: Runtime Error):
list1 = input().split(' ')
list1 = list(map(int, list1))
a = list1[0]
b = list1[1]


ans1 = a // b
ans1 = str(ans1)
ans2 = a % b
ans2 = str(ans2)
ans3 = a / b
ans3 = str(ans3)

print("{0} {1} {2:.5f}".format(ans1, ans2, ans3))

Fixed submission:
list1 = input().split(' ')
list1 = list(map(int, list1))
a = list1[0]
b = list1[1]


ans1 = a // b
ans2 = a % b
ans3 = a / b

print("{0} {1} {2:.6f}".format(ans1, ans2, ans3))
Buggy python submission (verdict: Runtime Error):
import math

r = int(input())

area = math.pi * (r ** 2)
circum = 2 * math.pi * r

print("{0:.6f} {1:.6f}".format(area, circum))

Fixed submission:
import math

r = float(input())

area = math.pi * (r ** 2)
circum = 2 * math.pi * r

print("{0:.6f} {1:.6f}".format(area, circum))

Buggy python submission (verdict: Runtime Error):
import math

r = int(input())

area = math.pi * (r ** 2)
circum = 2 * math.pi * r

print("{0:.6f} {1:.6f}".format(area, circum))

Fixed submission:
import math

r = float(input())

area = math.pi * (r ** 2)
circum = 2 * math.pi * r

print("{0:.6f} {1:.6f}".format(area, circum))
Buggy python submission (verdict: Runtime Error):
input_raw = input()
input_data = input_raw.split(' ')

s=input_data[0]*input_data[1]
x=input_data[0]*2+input_data[1]*2

print(string(s) & " " & string(x))

Fixed submission:
a,b = list(map(int, input().split()))
x = 2 * (a+ b)
s = a * b
print(str(s) + " " + str(x))

Buggy python submission (verdict: Runtime Error):
inputRaw=input()
inputData=inputRaw.split(' ')

s=inputData[0]*inputData[1]
x=(inputData[0]+inputData[1])*2

print(str(s)+" "+str(x))

Fixed submission:
a,b = list(map(int, input().split()))
x = 2 * (a+ b)
s = a * b
print(str(s) + " " + str(x))

Buggy python submission (verdict: Runtime Error):
inputRaw=input()
inputData=inputRaw.split(' ')

s=inputData[0]*inputData[1]
x=(inputData[0]+inputData[1])*2

print(str(s)&" "&str(x))

Fixed submission:
a,b = list(map(int, input().split()))
x = 2 * (a+ b)
s = a * b
print(str(s) + " " + str(x))
Buggy python submission (verdict: Runtime Error):
# ITP1_2_A

num = input()
a,b = num.split()
a = int(a)
b = int(b)

if a < b :
    print('a < b')
elif a > b :
    print('a > b')
else:
    print('a == b')



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

if a < b :
    print("a < b")
elif a > b :
    print("a > b")
else:
    print("a == b")
Buggy python submission (verdict: Runtime Error):
w,h,x,y,r = map(int, input().split())

a = "n"

if (x > r) and (y > r):
    if(x+r < w) and (y+r < h):
        a = "y"


if a = "y":
    print("Yes")
else:
    print("No")



Fixed submission:
w,h,x,y,r = map(int, input().split())

a = True

if x < r or w - r < x :
    a = False

if y < r or h - r < y :
    a = False


if a:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):

w,h,x,y,r = map(int, input().split())

a = true

if x<r or w-r<x:
    a = false

if y<r or h-r<y:
    a = false


if a = true:
    print("Yes")
else:
    print("No")



Fixed submission:
w,h,x,y,r = map(int, input().split())

a = True

if x < r or w - r < x :
    a = False

if y < r or h - r < y :
    a = False


if a:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
w,h,x,y,r = map(int, input().split())

a = true

if x<r or w-r<x:
    a = false

if y<r or h-r<y:
    a = false


if a = true:
    print("Yes")
else:
    print("No")



Fixed submission:
w,h,x,y,r = map(int, input().split())

a = True

if x < r or w - r < x :
    a = False

if y < r or h - r < y :
    a = False


if a:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
w,h,x,y,r = map(int, input().split())

a = True

if x < r or w - r < x :
    a = False

if y < r or h - r < y :
    a = False


if a = True:
    print("Yes")
else:
    print("No")



Fixed submission:
w,h,x,y,r = map(int, input().split())

a = True

if x < r or w - r < x :
    a = False

if y < r or h - r < y :
    a = False


if a:
    print("Yes")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
i = 1

while True:
    x=map(int,input())
    if x=False:
        break
    
    print("case ", i , ": ", x)




Fixed submission:
# itp1_3_b

i = 1

while True:
    x=int(input())
    if x==False:
        break
    print("Case {}: {}".format(i,x))
    i+=1
Buggy python submission (verdict: Runtime Error):
while true:
    
    ary = list(map(int, input().split()))
    
    if ary[0]+ary[1] == 0 :
        break
    
    ary.sort()
    
    print("{} {}".format(ary[0], ary[1]))




Fixed submission:
while True:
    
    ary = list(map(int, input().split()))
    
    if ary[0]+ary[1] == 0 :
        break
    
    ary.sort()

    print(ary[0], ary[1])

Buggy python submission (verdict: Runtime Error):
while true:
    
    ary = list(map(int, input().split()))
    
    if ary[0]+ary[1] == 0 :
        break
    
    ary.sort()

    print(ary[0], ary[1])






Fixed submission:
while True:
    
    ary = list(map(int, input().split()))
    
    if ary[0]+ary[1] == 0 :
        break
    
    ary.sort()

    print(ary[0], ary[1])
Buggy python submission (verdict: Runtime Error):
r = int(input())

s = r*r*pi()
x = 2*r*pi()

print(s, x)




Fixed submission:
import math
pi = math.pi
r = float(input())

s = r*r*pi
x = 2*r*pi

print("{} {}".format(s,x))

Buggy python submission (verdict: Runtime Error):
r = float(input())

s = r*r*pi
x = 2*r*pi

print("{} {}".format(s,x))



Fixed submission:
import math
pi = math.pi
r = float(input())

s = r*r*pi
x = 2*r*pi

print("{} {}".format(s,x))

Buggy python submission (verdict: Runtime Error):
import math

r = float(input())

s = r*r*pi
x = 2*r*pi

print("{} {}".format(s,x))



Fixed submission:
import math
pi = math.pi
r = float(input())

s = r*r*pi
x = 2*r*pi

print("{} {}".format(s,x))
Buggy python submission (verdict: Runtime Error):
ary = input().split()

if ary[1] = "+" :
    ans = int(ary[0]) + int(ary[2])

if ary[1] = "-" :
    ans = int(ary[0]) - int(ary[2])

if ary[1] = "*" :
    ans = int(ary[0]) * int(ary[2])

if ary[1] = "/" :
    ans = int(ary[0]) / int(ary[2])

print(ans)



Fixed submission:
while True:
    a = input()

    if '?' in a :
        break
    
    print(int(eval(a)))

Buggy python submission (verdict: Runtime Error):
while True:

    ary = input().split()

    if ary[1] = "?" :
        break

    if ary[1] = "+" :
        ans = int(ary[0]) + int(ary[2])

    if ary[1] = "-" :
        ans = int(ary[0]) - int(ary[2])

    if ary[1] = "*" :
        ans = int(ary[0]) * int(ary[2])

    if ary[1] = "/" :
        ans = int(ary[0]) / int(ary[2])

    print(ans)



Fixed submission:
while True:
    a = input()

    if '?' in a :
        break
    
    print(int(eval(a)))
Buggy python submission (verdict: Runtime Error):
i,x=1,input()
while x !='0':
	print(f"Case {i}: {x}")
	i,x=i+1,input()

Fixed submission:
i,x=1,input()
while x !='0':
	print("Case {}:".format(i),x)
	i+=1;x=input()

Buggy python submission (verdict: Runtime Error):
l=lambda: sys.stdin.readline().strip()
i,x=1,l()
while x !='0':
	print(f"Case {i}: {x}")
	i,x=i+1,l()

Fixed submission:
i,x=1,input()
while x !='0':
	print("Case {}:".format(i),x)
	i+=1;x=input()

Buggy python submission (verdict: Runtime Error):
import sys
l=lambda: sys.stdin.readline().strip()
i,x=1,l()
while x !='0':
	print(f"Case {i}: {x}")
	i,x=i+1,l()

Fixed submission:
i,x=1,input()
while x !='0':
	print("Case {}:".format(i),x)
	i+=1;x=input()
Buggy python submission (verdict: Runtime Error):
import math
a = math.pi
x = int(raw_input())

print x*x*a,2*x*a

Fixed submission:
import math
a = math.pi
r = float(raw_input())

print "%f %f" % (r * r * a, 2 * r * a)
Buggy python submission (verdict: Runtime Error):
while True:
	(m, f, r) = map(int,raw_input().split())
	if (m == -1 and f == -1 and r == -1):
		break
	elif (m == -1 or f == -1):
		print "F"
	elif (m + f) >= 80:
		print "A"
	elif 65 <= (m + f) <80:
		print "B"
	elif 50 <= (m + f) <65:
		print "C"
	elif (30 <= (m + f) <50 and (r>=50):
		print "C"
	elif 30 <= (m + f) <50:
		print "D"
	else:
		print "F"

Fixed submission:
while True:
	(m, f, r) = map(int,raw_input().split())
	if (m == -1 and f == -1 and r == -1):
		break
	if (m == -1 or f == -1):
		print "F"
	elif (m + f) >= 80:
		print "A"
	elif 65 <= (m + f) <80:
		print "B"
	elif 50 <= (m + f) <65:
		print "C"
	elif (30 <= (m + f) <50) and (r>=50):
		print "C"
	elif 30 <= (m + f) <50:
		print "D"
	else:
		print "F"
Buggy python submission (verdict: Time Limit Exceeded):
n = int(raw_input())
S = map(int, raw_input().split())
q = int(raw_input())
T = map(int, raw_input().split())
count = 0
for x in T:
	if x in S:
		count += 1
print count

Fixed submission:
n = int(raw_input())
S = set(raw_input().split())
q = int(raw_input())
T = set(raw_input().split())
print (len(S & T))

Buggy python submission (verdict: Time Limit Exceeded):
n = int(raw_input())
S = map(int, raw_input().split())
q = int(raw_input())
T = map(int, raw_input().split())
count = 0
for x in T:
	if x in S:
		count += 1
print "%d" % count

Fixed submission:
n = int(raw_input())
S = set(raw_input().split())
q = int(raw_input())
T = set(raw_input().split())
print (len(S & T))
Buggy python submission (verdict: Runtime Error):
def Area(a, b):
    return a*b

def Lap(a, b):
    return 2*(a+b)

num = input()
a,b = num.split()
print('{} {}'.format(Area(a,b), Lap(a,b)))

Fixed submission:
def Area(a, b):
    return a*b

def Lap(a, b):
    return 2*(a+b)

num = input()
a,b = num.split()
a = int(a)
b = int(b)
print('{} {}'.format(Area(a,b), Lap(a,b)))

Buggy python submission (verdict: Runtime Error):
def Area(a, b):
    return a*b

def Lap(a, b):
    return 2*(a+b)

num = input()
a,b = int(num.split())
print('{} {}'.format(Area(a,b), Lap(a,b)))

Fixed submission:
def Area(a, b):
    return a*b

def Lap(a, b):
    return 2*(a+b)

num = input()
a,b = num.split()
a = int(a)
b = int(b)
print('{} {}'.format(Area(a,b), Lap(a,b)))
Buggy python submission (verdict: Runtime Error):
num = input()
num_list = []
num_list = num.split()

if int(num_list[0]) == int(num_list[1]):
    print('a',b,sep=' == ')
elif int(num_list[0]) > int(num_list[1]):
    print('a','b',sep=' > ')
else:
    print('a','b',sep=' < ')

Fixed submission:
num = input()
num_list = []
num_list = num.split()

if int(num_list[0]) == int(num_list[1]):
    print('a','b',sep=' == ')
elif int(num_list[0]) > int(num_list[1]):
    print('a','b',sep=' > ')
else:
    print('a','b',sep=' < ')
Buggy python submission (verdict: Runtime Error):
W,H,x,y,r = map(int,input().split())
print('No' if (x-r)<0 or (x+r)>w or (y-r)<0 or (y+r)>h else 'No')

Fixed submission:
W,H,x,y,r = map(int,input().split())
print('Yes' if x + r <= W and y - r >= 0 and x - r >= 0 and y + r <= H else 'No')

Buggy python submission (verdict: Runtime Error):
W,H,x,y,r = map(int,input().split())
print('No' if (x-r)<0 or (x+r)>w or (y-r)<0 or (y+r)>h else 'Yes')

Fixed submission:
W,H,x,y,r = map(int,input().split())
print('Yes' if x + r <= W and y - r >= 0 and x - r >= 0 and y + r <= H else 'No')
Buggy python submission (verdict: Runtime Error):
r = int(input())
pi=3.1415926535
print('{0:.6f} {1:.6f}'.format(r**2*pi,r*2*pi))

Fixed submission:
from math import pi
r = float(input())
print('{0:.6f} {1:.6f}'.format(r**2*pi,r*2*pi))