Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
inport sys

x = sys.stdin.readline()

a, b = x.split(" ")

S = a * b
l = 2 * (a + b)

print S,l

Fixed submission:
import sys

x = sys.stdin.readline()

a, b = x.split(" ")

a = int(a)
b = int(b)

S = a * b
l = 2 * (a + b)

print '%d %d' % (S,l)

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

x = sys.stdin.readline()

a, b = x.split(" ")

S = a * b
l = 2 * (a + b)

print S l

Fixed submission:
import sys

x = sys.stdin.readline()

a, b = x.split(" ")

a = int(a)
b = int(b)

S = a * b
l = 2 * (a + b)

print '%d %d' % (S,l)

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

x = sys.stdin.readline()

a, b = x.split(" ")

a = int(a)
b = int(b)

S = a * b
l = 2 * (a + b)

print S l

Fixed submission:
import sys

x = sys.stdin.readline()

a, b = x.split(" ")

a = int(a)
b = int(b)

S = a * b
l = 2 * (a + b)

print '%d %d' % (S,l)

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

x = sys.stdin.readline()

a, b = x.split(" ")

a = int(a)
b = int(b)

S = a * b
l = 2 * (a + b)

print '%d %d'%(S,l)

Fixed submission:
import sys

x = sys.stdin.readline()

a, b = x.split(" ")

a = int(a)
b = int(b)

S = a * b
l = 2 * (a + b)

print '%d %d' % (S,l)

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

x = sys.stdin.readline()

a, b = x.split(" ")

a = int(a)
b = int(b)

S = a * b
l = 2 * (a + b)

print '%d %d' % (S,l)

Fixed submission:
import sys

x = sys.stdin.readline()

a, b = x.split(" ")

a = int(a)
b = int(b)

S = a * b
l = 2 * (a + b)

print '%d %d' % (S,l)
Buggy python submission (verdict: Runtime Error):
import sys

x = sys.stdin.readline()

a, b, c = x.split(" ")

if a < b && b < c:
  print Yes

else:
  print No

Fixed submission:
import sys

x = sys.stdin.readline()

a_list = x.split(" ")

if int(a_list[0]) < int(a_list[1]) and int(a_list[1]) < int(a_list[2]):
  print "Yes"

else:
  print "No"

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

x = sys.stdin.readline()

a_list = x.split(" ")

if a_list[0] < a_list[1] and a_list[1] < a_list[2]:
  print Yes

else:
  print No

Fixed submission:
import sys

x = sys.stdin.readline()

a_list = x.split(" ")

if int(a_list[0]) < int(a_list[1]) and int(a_list[1]) < int(a_list[2]):
  print "Yes"

else:
  print "No"

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

x = sys.stdin.readline()

a_list = x.split(" ")

if int(a_list[0]) < int(a_list[1]) and int(a_list[1]) < int(a_list[2]):
  print Yes

else:
  print No

Fixed submission:
import sys

x = sys.stdin.readline()

a_list = x.split(" ")

if int(a_list[0]) < int(a_list[1]) and int(a_list[1]) < int(a_list[2]):
  print "Yes"

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

x = sys.stdin.readline()

x_list = x.split(" ")

max = int(x_list[0])
maxNo = 0
min = int(x_list[0])
minNo = 0

for i in range(1,3):
  if max < int(x_list[i]):
    max = int(x_list[i])
    maxNo = i
  elif min > int(x_list[i]):
    min = int(x_list[i])
    minNo = i

if (max == 0 and min == 1) or (max == 1 and min == 0):
  mid == int(x_list[2])
elif (max == 0 and min == 2) or (max == 2 and min == 0):
  mid == int(x_list[1])
else:
  mid == int(x_list[0])

print "%s %s %s" %(max, mid, min)

Fixed submission:
x = raw_input()
x_list = x.split(" ")

x_list = map(int, x_list)

max = min = mid = 0
for i in range(1,3):
    if x_list[max] < x_list[i]:
        mid = max
        max = i
    elif x_list[min] > x_list[i]:
        mid = min
        min = i
    else:
        mid = i

print("%d %d %d" %(x_list[min], x_list[mid], x_list[max]))

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

x = sys.stdin.readline()
x_list = x.split(" ")

max = int(x_list[0])
maxNo = 0
min = int(x_list[0])
minNo = 0

for i in range(1,3):
  if max < int(x_list[i]):
    max = int(x_list[i])
    maxNo = i
  elif min > int(x_list[i]):
    min = int(x_list[i])
    minNo = i

if (maxNo == 0 and minNo == 1) or (maxNo == 1 and minNo == 0):
  mid == int(x_list[2])
elif (maxNo == 0 and minNo == 2) or (maxNo == 2 and minNo == 0):
  mid == int(x_list[1])
else:
  mid == int(x_list[0])

print "%s %s %s" %(max, mid, min)

Fixed submission:
x = raw_input()
x_list = x.split(" ")

x_list = map(int, x_list)

max = min = mid = 0
for i in range(1,3):
    if x_list[max] < x_list[i]:
        mid = max
        max = i
    elif x_list[min] > x_list[i]:
        mid = min
        min = i
    else:
        mid = i

print("%d %d %d" %(x_list[min], x_list[mid], x_list[max]))

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

x = sys.stdin.readline()
a1,b1,c1 = x.split(" ")

a = int(a1)
b = int(b1)
c = int(c1)

max = a
mid = a
min = a

if max < b:
  max = b
elif min > b:
  min = b
if max < c:
  mid = max
  max = c
elif min > c:
  mid = min
  min = c

print("%d %d %d"), %(max,mid,min)

Fixed submission:
x = raw_input()
x_list = x.split(" ")

x_list = map(int, x_list)

max = min = mid = 0
for i in range(1,3):
    if x_list[max] < x_list[i]:
        mid = max
        max = i
    elif x_list[min] > x_list[i]:
        mid = min
        min = i
    else:
        mid = i

print("%d %d %d" %(x_list[min], x_list[mid], x_list[max]))
Buggy python submission (verdict: Runtime Error):
import sys

i = 0

while x != 0:
  x = sys.stdin.readline()
  i += 1

  print case,
  print "%d: %d", %(i,x)
  

Fixed submission:
i = 0
d = 0

while d == 0:
    x = input()
    if x != 0:
        i += 1
        print("Case %d: %d" %(i, x))
    else:
        d = 1

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

i = 0

while x != 0:
  x = sys.stdin.readline()
  i += 1

  print Case,
  print "%d: %d", %(i,x)
  

Fixed submission:
i = 0
d = 0

while d == 0:
    x = input()
    if x != 0:
        i += 1
        print("Case %d: %d" %(i, x))
    else:
        d = 1

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

i = 0

while x != 0:
  x = sys.stdin.readline()
  i += 1

  print "Case %d: %d", %(i,x)
  

Fixed submission:
i = 0
d = 0

while d == 0:
    x = input()
    if x != 0:
        i += 1
        print("Case %d: %d" %(i, x))
    else:
        d = 1

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

i = 0

while x == 0:
  x = sys.stdin.readline()
  i += 1

  print "Case %d: %d", %(i,x)
  

Fixed submission:
i = 0
d = 0

while d == 0:
    x = input()
    if x != 0:
        i += 1
        print("Case %d: %d" %(i, x))
    else:
        d = 1

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

i = 0
x = 1

while x == 0:
  x = sys.stdin.readline()
  i += 1

  print "Case %d: %d", %(i,x)
  

Fixed submission:
i = 0
d = 0

while d == 0:
    x = input()
    if x != 0:
        i += 1
        print("Case %d: %d" %(i, x))
    else:
        d = 1

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

i = 0
x = 1

while x != 0:
  x = sys.stdin.readline()
  i += 1

  print "Case %d: %d", %(i,x)
  

Fixed submission:
i = 0
d = 0

while d == 0:
    x = input()
    if x != 0:
        i += 1
        print("Case %d: %d" %(i, x))
    else:
        d = 1

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

i = 0
x = 1

while x != 0:
  x = sys.stdin.readline()
  i += 1

  print 'Case %d: %s', %(i,x)
  

Fixed submission:
i = 0
d = 0

while d == 0:
    x = input()
    if x != 0:
        i += 1
        print("Case %d: %d" %(i, x))
    else:
        d = 1

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

i = 0
x = 1

while x != 0:
  x = sys.stdin.readline()
  i += 1
  print 'Case %d: %s', %(i,x)
  

Fixed submission:
i = 0
d = 0

while d == 0:
    x = input()
    if x != 0:
        i += 1
        print("Case %d: %d" %(i, x))
    else:
        d = 1
Buggy python submission (verdict: Runtime Error):
d = 0

while d == 0:
    i = raw_input()
    x, y = i.split()
    x = int(x)
    y = int(y)
    
    if x != 0 and y != 0:
        if x > y:
            print("%d %d" %(y,x))
        else:
            print("%d %d" %(x,y))
    else:
        d = 2
        

Fixed submission:
i = 1

while i == 1:
    r = raw_input()
    x, y = r.split()
    x = int(x)
    y = int(y)
    
    if x == 0 and y == 0:
        i = 0
    elif x > y:
        print ("%d %d" %(y, x))
    else:
        print ("%d %d" %(x, y))

Buggy python submission (verdict: Runtime Error):
d = 0

while d == 0:
    i = raw_input()
    x, y = i.split()
    x = int(x)
    y = int(y)
    
    if x != 0 and y != 0:
        if x > y:
            print("%d %d" %(y,x))
        else:
            print("%d %d" %(x,y))
    else:
        d = 2
        

Fixed submission:
i = 1

while i == 1:
    r = raw_input()
    x, y = r.split()
    x = int(x)
    y = int(y)
    
    if x == 0 and y == 0:
        i = 0
    elif x > y:
        print ("%d %d" %(y, x))
    else:
        print ("%d %d" %(x, y))

Buggy python submission (verdict: Runtime Error):
d = 0

while d == 0:
    i = raw_input()
    x, y = i.split()
    x = int(x)
    y = int(y)
    
    if x != 0 and y != 0:
        if x > y:
            print("%d %d" %(y,x))
        else:
            print("%d %d" %(x,y))
    else:
        d = 2
        

Fixed submission:
i = 1

while i == 1:
    r = raw_input()
    x, y = r.split()
    x = int(x)
    y = int(y)
    
    if x == 0 and y == 0:
        i = 0
    elif x > y:
        print ("%d %d" %(y, x))
    else:
        print ("%d %d" %(x, y))

Buggy python submission (verdict: Runtime Error):
d = 0

while d == 0:
    i = raw_input()
    x, y = i.split()
    x = int(x)
    y = int(y)
    
    if x == 0 and y == 0:
        d = 2
    else:
        if x > y:
            tmp = y
            y = x
            x = tmp
        print("%d %d" %(x,y))
        

Fixed submission:
i = 1

while i == 1:
    r = raw_input()
    x, y = r.split()
    x = int(x)
    y = int(y)
    
    if x == 0 and y == 0:
        i = 0
    elif x > y:
        print ("%d %d" %(y, x))
    else:
        print ("%d %d" %(x, y))
Buggy python submission (verdict: Runtime Error):
def inkousha(w_list, x, y, z):
    w_list[x-1][y-1] += z
    
def answerp(w_list):
    for i in range(3):
        for j in range(10):
            print w_list[i][j],
        print("")
        

n = input()

A1 = [[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0]]
A2 = [[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0]]
A3 = [[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0]]
A4 = [[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0]]

for i in range(n):
    x = raw_input()
    b, f, r, v = x.split()
    b = int(b)
    f = int(f)
    r = int(r)
    v = int(v)
    
    if b == 1:
        inkousha(A1, f, r, v)
    elif b == 2:
        inkousha(A2, f, r, v)
    elif b == 3:
        inkousha(A3, f, r, v)
    else:
        inkousha(A4, f, r, v)
    
answerp(A1)
print("####################")
answerp(A2)
print("####################")
answerp(A3)
print("####################")
answerp(A4)

Fixed submission:

import sys

def check(x_list, f, r, v):
    x_list[f][r] += v

def peo(x_list):
    for i in range(3):
        for j in range(10):
            sys.stdout.write(" %d" %(x_list[i][j]))
        print ("")

A_bill = [[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0]]
B_bill = [[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0]]
C_bill = [[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0]]
D_bill = [[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0]]

n = input()
for i in range(n):
    x = raw_input()
    b, f, r, v = x.split()
    b = int(b)
    f = int(f)
    r = int(r)
    v = int(v)
    
    if b == 1:
        check(A_bill, f-1,r-1,v)
    elif b == 2:
        check(B_bill, f-1,r-1,v)
    elif b == 3:
        check(C_bill, f-1,r-1,v)
    elif b == 4:
        check(D_bill, f-1,r-1,v)

peo(A_bill)
print("####################")
peo(B_bill)
print("####################")
peo(C_bill)
print("####################")
peo(D_bill)
Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
num_list = map(int, raw_input().split())
c = 0
flag = 1
while flag:
    flag =0
    for j in range(N-1,0,-1):
        if num_list[j] < num_list[j-1]:
            a = num_list[j]
            num_list[j] = numlist[j-1]
            num_list[j-1] = a
            c += 1
            flag =1
print " ".join(map(str,num_list))
print c

Fixed submission:
N = int(raw_input())
num_list = map(int, raw_input().split())

c = 0
flag = 1
while flag==1:
    flag =0
    for j in range(N-1,0,-1):
        if num_list[j] < num_list[j-1]:
            a = num_list[j]
            num_list[j] = num_list[j-1]
            num_list[j-1] = a
            c += 1
            flag =1

print " ".join(map(str,num_list))
print c

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
num_list = map(int, raw_input().split())


c = 0
flag = 1
while flag:
    flag =0
    for j in range(N-1,0,-1):
        if num_list[j] < num_list[j-1]:
            a = num_list[j]
            num_list[j] = numlist[j-1]
            num_list[j-1] = a
            c += 1
            flag =1
print " ".join(map(str,num_list))
print c

Fixed submission:
N = int(raw_input())
num_list = map(int, raw_input().split())

c = 0
flag = 1
while flag==1:
    flag =0
    for j in range(N-1,0,-1):
        if num_list[j] < num_list[j-1]:
            a = num_list[j]
            num_list[j] = num_list[j-1]
            num_list[j-1] = a
            c += 1
            flag =1

print " ".join(map(str,num_list))
print c

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
num_list = map(int, raw_input().split())

c = 0
flag = 1
while flag==1:
    flag =0
    for j in range(N-1,0,-1):
        if num_list[j] < num_list[j-1]:
            a = num_list[j]
            num_list[j] = numlist[j-1]
            num_list[j-1] = a
            c += 1
            flag =1
print " ".join(map(str,num_list))
print c

Fixed submission:
N = int(raw_input())
num_list = map(int, raw_input().split())

c = 0
flag = 1
while flag==1:
    flag =0
    for j in range(N-1,0,-1):
        if num_list[j] < num_list[j-1]:
            a = num_list[j]
            num_list[j] = num_list[j-1]
            num_list[j-1] = a
            c += 1
            flag =1

print " ".join(map(str,num_list))
print c

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
num_list = map(int, raw_input().split())

c = 0
flag = 1
while flag==1:
    flag =0
    for j in range(N-1,0,-1):
        if num_list[j] < num_list[j-1]:
            a = num_list[j]
            num_list[j] = numlist[j-1]
            num_list[j-1] = a
            c += 1
            flag =1

print " ".join(map(str,num_list))
print c

Fixed submission:
N = int(raw_input())
num_list = map(int, raw_input().split())

c = 0
flag = 1
while flag==1:
    flag =0
    for j in range(N-1,0,-1):
        if num_list[j] < num_list[j-1]:
            a = num_list[j]
            num_list[j] = num_list[j-1]
            num_list[j-1] = a
            c += 1
            flag =1

print " ".join(map(str,num_list))
print c
Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
num_list = map(int, raw_input().split())
c = 0

for i in range(0,N,1):
    minj =i
    for j in range(i,N,1)
        if num_list[j] < num_list[minj]
        minj = j
    a = num_list[i]
    num_list[i] = num_list[minj]
    num_list[minj] = a
    c += 1
print " ".join(map(str,num_list))
print c

Fixed submission:
N = int(raw_input())
num_list = map(int, raw_input().split())
c = 0

for i in range(0,N,1):
    flag =0
    minj =i
    for j in range(i,N,1):
        if num_list[j] < num_list[minj]:
            minj = j
            flag = 1
    c += flag
    num_list[i], num_list[minj] = num_list[minj], num_list[i]
print " ".join(map(str,num_list))
print c

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
num_list = map(int, raw_input().split())
c = 0

for i in range(0,N,1):
    minj =i
    for j in range(i,N,1):
        if num_list[j] < num_list[minj]:
        minj = j
    a = num_list[i]
    num_list[i] = num_list[minj]
    num_list[minj] = a
    c += 1
print " ".join(map(str,num_list))
print c

Fixed submission:
N = int(raw_input())
num_list = map(int, raw_input().split())
c = 0

for i in range(0,N,1):
    flag =0
    minj =i
    for j in range(i,N,1):
        if num_list[j] < num_list[minj]:
            minj = j
            flag = 1
    c += flag
    num_list[i], num_list[minj] = num_list[minj], num_list[i]
print " ".join(map(str,num_list))
print c
Buggy python submission (verdict: Runtime Error):
#??????????????????
N = int(raw_input())
num_list1 = raw_input().split()

num_list2 = num_list1


flag = 1
while flag==1:
    flag =0
    for j in range(N-1,0,-1):
        if int(num_list1[j][1:]) < int(num_list1[j-1][1:]):
            a = num_list1[j]
            num_list1[j] = num_list1[j-1]
            num_list1[j-1] = a
           
            flag =1

print " ".join(num_list1)
print "Stable"

#???????????????

for i in range(0,N,1):
   
    minj =i
    for j in range(i,N,1):
        if int(num_list2[j][1:]) < int(num_list2[minj][1:]):
            minj = j
            
    num_list2[i], num_list2[minj] = num_list2[minj], num_list2[i]
print " ".join(num_list2)


if num_list1 == num_list2: 
    print "Stable"
else:
    print "Not Stable"

Fixed submission:

N = int(raw_input())
line = raw_input()

num_list1 = line.split()

num_list2 = line.split()


flag = 1
while flag==1:
    flag =0
    for j in range(N-1,0,-1):
        if int(num_list1[j][1:]) < int(num_list1[j-1][1:]):
            a = num_list1[j]
            num_list1[j] = num_list1[j-1]
            num_list1[j-1] = a
           
            flag =1

print " ".join(num_list1)
print "Stable"



for i in range(0,N,1):
   
    minj =i
    for j in range(i,N,1):
        if int(num_list2[j][1:]) < int(num_list2[minj][1:]):
            minj = j
            
    num_list2[i], num_list2[minj] = num_list2[minj], num_list2[i]
print " ".join(num_list2)


if num_list1 == num_list2: 
    print "Stable"
else:
    print "Not stable"
Buggy python submission (verdict: Runtime Error):
import sys
x = sys.stdin.read()
print x**3

Fixed submission:
import sys
x = sys.stdin.read()
print int(x)**3
Buggy python submission (verdict: Runtime Error):
list = map(int, raw_input().split())
print list[0]*list[1] 2*(list[0]+list[1])

Fixed submission:
list = map(int, raw_input().split())
print list[0]*list[1],
print 2*(list[0]+list[1])
Buggy python submission (verdict: Runtime Error):
x = []
num_z = num_time/60
num_h = (num_time%60)/60
num_b = (num_time%60)%60
x.append(num_z)
x.append(num_h)
x.append(num_b)
x = map(str, x)
print ":".join(x)

Fixed submission:
num_time = int(raw_input())
x = []
num_z = num_time/3600
num_h = (num_time%3600)/60
num_b = (num_time%3600)%60
x.append(num_z)
x.append(num_h)
x.append(num_b)
x = map(str, x)
print ":".join(x)
Buggy python submission (verdict: Runtime Error):
x = raw_input().split()
if x[0] < x[2]:
    print "a < b"
elif x[0] > x[2]:
    print "a > b"
else:
    print "a == b"

Fixed submission:
x = raw_input().split()
if float(x[0]) < float(x[1]):
    print "a < b"
elif float(x[0]) > float(x[1]):
    print "a > b"
else:
    print "a == b"
Buggy python submission (verdict: Runtime Error):
X= raw_input().split()
if X[2] + X[4] < X[0]and X[2] - X[4] > 0 and X[3] + X[4] < X[1] and X[3] - X[4] > 0:
    print "Yes"
else:
    print "No"        

Fixed submission:
X= raw_input().split()
if float(X[2]) + float(X[4]) <= float(X[0])and float(X[2]) - float(X[4]) >= 0 and float(X[3]) + float(X[4]) <= float(X[1]) and float(X[3]) - float(X[4]) >= 0:
    print "Yes"
else:
    print "No"
Buggy python submission (verdict: Runtime Error):
r = map(int,raw_input().split())
print  r[0]*r[0]*3.141592653589793 
print r[0]*2*3.141592653589793 

Fixed submission:
r = map(float,raw_input().split())
print  '%.10f'%(r[0]*r[0]*3.14159265358979323846) 
print '%.10f'%(r[0]*2*3.14159265358979323846)
Buggy python submission (verdict: Runtime Error):
import math

x1, y1, x2, y2 = list(map(int, input().split()))
print(math.sqrt((x1 - x2)**2 + (y1 - y2)**2))

Fixed submission:
x1, y1, x2, y2 = list(map(float, input().split()))
print(((x1 - x2)**2 + (y1 - y2)**2)**0.5)

Buggy python submission (verdict: Runtime Error):
x1, y1, x2, y2 = list(map(int, input().split()))
print(((x1 - x2)**2 + (y1 - y2)**2)**0.5)

Fixed submission:
x1, y1, x2, y2 = list(map(float, input().split()))
print(((x1 - x2)**2 + (y1 - y2)**2)**0.5)
Buggy python submission (verdict: Runtime Error):
numbers = []
n = raw_input()
numbers = n.split(" ")
for i in range(5):
	numbers[i] = int(numbers[i])
W = numbers[0]
H = numbers[1]
x = numbers[2]
y = numbers[3]
r = numbers[4]

if x - r => 0 and y - r => 0 and x + r <= W and y + r <= H:
	print "Yes"
else:
	print "No"

Fixed submission:
w, h, x, y, r = map(int, input().split())
if 0 <= x - r and x + r <= w and 0 <= y - r and y + r <= h:
    print("Yes")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
import math

n = int(raw_input())
print n * n * math.pi, 2 * n * math.pi

Fixed submission:
import math
r = float(input())
print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))

Buggy python submission (verdict: Runtime Error):
r = int(input())
print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))

Fixed submission:
import math
r = float(input())
print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))

Buggy python submission (verdict: Runtime Error):
import math
r = int(input())
print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))

Fixed submission:
import math
r = float(input())
print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))

Buggy python submission (verdict: Runtime Error):
import math
r = int(input())
print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))

Fixed submission:
import math
r = float(input())
print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))
Buggy python submission (verdict: Runtime Error):
a = list(map(int, input().split()))
a.reverse()
a = list(map(str,a)
print(" ".join(a))

Fixed submission:
n = input()
a = list(map(int, input().split()))
a.reverse()
a = list(map(str,a))
print(" ".join(a))
Buggy python submission (verdict: Runtime Error):
sentence = input()

d ={}
for i in [chr(i) for i in range(97,97+26)]:
    d[i] = 0

for char in sentence:
    if char.isalpha():
        d[char] += 1
for key, value in sorted(d.items()):
    print('%s : %s' % (key, value))

Fixed submission:
import sys
sentence = ''
data = 'abcdefghijklmnopqrstuvwxyz'
for line in sys.stdin:
    sentence += line.lower()
for i in data:
    print(i + ' : ' + str(sentence.count(i)))

Buggy python submission (verdict: Runtime Error):
sentence = input()

d ={}
for i in [chr(i) for i in range(97,97+26)]:
    d[i] = 0

for char in sentence:
    if char.isalpha():
        d[char] += 1
for key, value in sorted(d.items()):
    print('%s : %s' % (key, value))

Fixed submission:
import sys
sentence = ''
data = 'abcdefghijklmnopqrstuvwxyz'
for line in sys.stdin:
    sentence += line.lower()
for i in data:
    print(i + ' : ' + str(sentence.count(i)))

Buggy python submission (verdict: Runtime Error):
sentence = input()

d ={}
for i in [chr(i) for i in range(97,97+26)]:
    d[i] = 0

for char in sentence:
    if char.isalpha():
        d[char] += 1
for key, value in sorted(d.items()):
    print('%s : %s' % (key, value))

Fixed submission:
import sys
sentence = ''
data = 'abcdefghijklmnopqrstuvwxyz'
for line in sys.stdin:
    sentence += line.lower()
for i in data:
    print(i + ' : ' + str(sentence.count(i)))

Buggy python submission (verdict: Runtime Error):
sentence = input()

d = {}
for i in range(97,97+26):
    d[chr(i)] = 0

for char in sentence:
    if char.isalpha():
        d[char] += 1
for key, value in sorted(d.items()):
    print('%s : %s' % (key, value))

Fixed submission:
import sys
sentence = ''
data = 'abcdefghijklmnopqrstuvwxyz'
for line in sys.stdin:
    sentence += line.lower()
for i in data:
    print(i + ' : ' + str(sentence.count(i)))

Buggy python submission (verdict: Runtime Error):
import sys
data = 'abcdefghijklmnopqrstuvwxyz'
for line in sys.stdin:
    sentence += line.lower()
for i in data:
    print(i + ' : ' + str(sentence.count(i)))

Fixed submission:
import sys
sentence = ''
data = 'abcdefghijklmnopqrstuvwxyz'
for line in sys.stdin:
    sentence += line.lower()
for i in data:
    print(i + ' : ' + str(sentence.count(i)))