Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
a,b = map(int, input().split())
x = a*b
y = 2a + 2b

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

Buggy python submission (verdict: Runtime Error):
x,y = map(int,input().split().strip())
print(x*y)
print(2*(x+y))

Fixed submission:
x,y = map(int,input().split())
s=x*y
p=2*(x+y)
print("%d %d"%(s,p))

Buggy python submission (verdict: Runtime Error):
x,y = map(int,input().split().strip())
print(x*y," ",2*(x+y))

Fixed submission:
x,y = map(int,input().split())
s=x*y
p=2*(x+y)
print("%d %d"%(s,p))

Buggy python submission (verdict: Runtime Error):
x,y = map(int,input().split().strip())
s=x*y
p=2*(x+y)
print("%d %d"%(s,p))

Fixed submission:
x,y = map(int,input().split())
s=x*y
p=2*(x+y)
print("%d %d"%(s,p))
Buggy python submission (verdict: Runtime Error):
x = input()
print(x**3)

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

Buggy python submission (verdict: Runtime Error):
import sys
x = sys.argv[1]
x = x**3
print(x)

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

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

Fixed submission:
a = input()
print(int(a)**3)
Buggy python submission (verdict: Runtime Error):
in = input()
for i in range(0,len(in)):
  if(a[i] == ' '):
    surface = int(a[:i])*int(a[i+1:])
    edge = (int(a[:i])+int(a[i+1:]))*2
    print(str(surface) + ' ' + str(edge))

Fixed submission:
inputStr = input()
for i in range(0, len(inputStr)):
  if(inputStr[i] == ' '):
    surface = int(inputStr[:i]) * int(inputStr[i+1:])
    edge = (int(inputStr[:i]) + int(inputStr[i+1:])) * 2
    print(str(surface) + ' ' + str(edge))

Buggy python submission (verdict: Runtime Error):
in = input()
for i in range(0,len(in)):
  if(in[i] == ' '):
    surface = int(in[:i])*int(in[i+1:])
    edge = (int(in[:i])+int(in[i+1:]))*2
    print(str(surface) + ' ' + str(edge))

Fixed submission:
inputStr = input()
for i in range(0, len(inputStr)):
  if(inputStr[i] == ' '):
    surface = int(inputStr[:i]) * int(inputStr[i+1:])
    edge = (int(inputStr[:i]) + int(inputStr[i+1:])) * 2
    print(str(surface) + ' ' + str(edge))

Buggy python submission (verdict: Runtime Error):
inputStr = input()
for i in range(0,len(in)):
  if(inputStr[i] == ' '):
    surface = int(inputStr[:i])*int(inputStr[i+1:])
    edge = (int(inputStr[:i])+int(inputStr[i+1:]))*2
    print(str(surface) + ' ' + str(edge))

Fixed submission:
inputStr = input()
for i in range(0, len(inputStr)):
  if(inputStr[i] == ' '):
    surface = int(inputStr[:i]) * int(inputStr[i+1:])
    edge = (int(inputStr[:i]) + int(inputStr[i+1:])) * 2
    print(str(surface) + ' ' + str(edge))

Buggy python submission (verdict: Runtime Error):
inputStr = input()
for i in range(0,len(in)):
  if(inputStr[i] == ' '):
    surface = int(inputStr[:i])*int(inputStr[i+1:])
    edge = (int(inputStr[:i])+int(inputStr[i+1:]))*2
    print(str(surface) + ' ' + str(edge))

Fixed submission:
inputStr = input()
for i in range(0, len(inputStr)):
  if(inputStr[i] == ' '):
    surface = int(inputStr[:i]) * int(inputStr[i+1:])
    edge = (int(inputStr[:i]) + int(inputStr[i+1:])) * 2
    print(str(surface) + ' ' + str(edge))
Buggy python submission (verdict: Runtime Error):
inputStr = input().split(' ')
a = int(inputStr[0])
b = int(inputStr[1])
c = int(inputStr[2])
if(a < b && b < c):
  print("Yes")
else:
  print("No")

Fixed submission:
inputStr = input().split(' ')
a = int(inputStr[0])
b = int(inputStr[1])
c = int(inputStr[2])
if a < b & b < c:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
inputStr = raw_input().split(' ')
a = int(inputStr[0])
b = int(inputStr[1])
c = int(inputStr[2])
if(a < b && b < c):
  print("Yes")
else:
  print("No")

Fixed submission:
inputStr = input().split(' ')
a = int(inputStr[0])
b = int(inputStr[1])
c = int(inputStr[2])
if a < b & b < c:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
inputStr = raw_input().split(' ')
a = int(inputStr[0])
b = int(inputStr[1])
c = int(inputStr[2])
if a < b & b < c:
  print("Yes")
else:
  print("No")

Fixed submission:
inputStr = input().split(' ')
a = int(inputStr[0])
b = int(inputStr[1])
c = int(inputStr[2])
if a < b & b < c:
  print("Yes")
else:
  print("No")
Buggy python submission (verdict: Runtime Error):
S = raw_input().split(' ')
for i in range(0, len(S)):
  S[i] = int(S[i])

if 0 < x+r & x+r < w & 0 < y+r & y+r < h:
  print("Yes")
else:
  print("No")

Fixed submission:
S = raw_input().split(' ')
for i in range(0, len(S)):
  S[i] = int(S[i])

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

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: Time Limit Exceeded):
v = int(raw_input())
i = 1
while v != 0:
  print("Case " + str(i) + ": " + str(v))

Fixed submission:
v = int(raw_input())
i = 1
while v != 0:
  print("Case " + str(i) + ": " + str(v))
  v = int(raw_input())
  i = i+1
Buggy python submission (verdict: Time Limit Exceeded):
S = raw_input().split(" ")
S[0] = int(S[0])
S[1] = int(S[1])

while S[0] != 0 or S[1] != 0:
  if(S[0] < S[1]):
    print(str(S[0]) + " " + str(S[1]))
  else:
    print(str(S[1]) + " " + str(S[0]))

Fixed submission:
S = raw_input().split(" ")
S[0] = int(S[0])
S[1] = int(S[1])

while S[0] != 0 or S[1] != 0:
  if(S[0] < S[1]):
    print(str(S[0]) + " " + str(S[1]))
  else:
    print(str(S[1]) + " " + str(S[0]))
  S = raw_input().split(" ")
  S[0] = int(S[0])
  S[1] = int(S[1])
Buggy python submission (verdict: Runtime Error):
S = raw_input().split(' ')
S[0] = int(S[0])
S[1] = int(S[1])

d = str(a//b)
r = str(a%b)
f = str(a/b)

print(d + " " + r + " " + f)

Fixed submission:
S = raw_input().split(' ')
S[0] = int(S[0])
S[1] = int(S[1])
 
d = str(S[0]/S[1])
r = str(S[0]%S[1])
f = format(1.0*S[0]/S[1], ".8f")
 
print(d + " " + r + " " + f)

Buggy python submission (verdict: Runtime Error):
S = raw_input().split(' ')
S[0] = int(S[0])
S[1] = int(S[1])
 
d = str(S[0]/S[1])
r = str(S[0]%S[1])
f = str(1.0*S[0]/S[1])
 
print(d + " " + r + " " + format(f, '.7f'))

Fixed submission:
S = raw_input().split(' ')
S[0] = int(S[0])
S[1] = int(S[1])
 
d = str(S[0]/S[1])
r = str(S[0]%S[1])
f = format(1.0*S[0]/S[1], ".8f")
 
print(d + " " + r + " " + f)
Buggy python submission (verdict: Runtime Error):
second = input()
h = second // 3600
m = second % 3600 // 60
s = second % 60

print("%d : %d : %d " (h, m, s) )

Fixed submission:
second = input()
h = second // 3600
m = second % 3600 // 60
s = second % 60


print( "%d:%d:%d" % (h, m, s) )
Buggy python submission (verdict: Runtime Error):
x = input().rstrip()
print(x**3)

Fixed submission:
x = int(input())
print(x**3)
Buggy python submission (verdict: Runtime Error):
a = [] 
while True:
    num = int(input())
    if n == 0:
        break 
    a.append(n)
    count = 0
    for i in a:
        count += 1
    print("Case " + str(count) + ":" + str(n))

Fixed submission:
i = 0
while True:
    n = int(input())
    if n == 0: 
        break
    else:
        i += 1
    print("Case " + str(i) + ": " + str(n))

Buggy python submission (verdict: Time Limit Exceeded):
a = [] 
while True:
    n = int(input())
    if n == 0:
        break 
    a.append(n)
    count = 0
    for i in a:
        count += 1
    print("Case " + str(count) + ":" + str(n))

Fixed submission:
i = 0
while True:
    n = int(input())
    if n == 0: 
        break
    else:
        i += 1
    print("Case " + str(i) + ": " + str(n))

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

for line in sys.stdin.readlines():
    if line == 0:
        break
    else:
        count = 0
        if i in line:
            count += 1
    print("Case " + str(count) + ": " + str(line))

Fixed submission:
i = 0
while True:
    n = int(input())
    if n == 0: 
        break
    else:
        i += 1
    print("Case " + str(i) + ": " + str(n))

Buggy python submission (verdict: Runtime Error):
N = [i for i in range(1, 10000)]
count = 0
for i in N:
    if i == 0:
        break
    else:
        count += 1
    print("Case " + str(count) + ": " + str(line))

Fixed submission:
i = 0
while True:
    n = int(input())
    if n == 0: 
        break
    else:
        i += 1
    print("Case " + str(i) + ": " + str(n))

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

a = []
for line in sys.stdin.readlines:
    count = 0
    for j in line:
    a.append(j)
        for i in a:
            if i == 0:
                break
            else:
                count += 1
        print("Case " + str(count) + ": " + str(i))

Fixed submission:
i = 0
while True:
    n = int(input())
    if n == 0: 
        break
    else:
        i += 1
    print("Case " + str(i) + ": " + str(n))
Buggy python submission (verdict: Runtime Error):
a = int(input())

c = a*a * 3.14
r = (a*2) * 3.14

print (c,r)

Fixed submission:
import math

a = float(input())

c = a*a * math.pi
r = (a+a) * math.pi

print (float(c),float(r))

Buggy python submission (verdict: Runtime Error):
a = int(input())

c = a*a * 3.14
r = (a+a) * 3.14

print (c,r)

Fixed submission:
import math

a = float(input())

c = a*a * math.pi
r = (a+a) * math.pi

print (float(c),float(r))
Buggy python submission (verdict: Runtime Error):
print x^3

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

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

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

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

Fixed submission:
x = input()
print x**3
Buggy python submission (verdict: Runtime Error):
num = [int(i) for i in input().split()]
print(num[0] * num[1] end = " ")
print(num[0] * 2 + num[1] *2)

Fixed submission:
num = [int(i) for i in input().split()]
print(num[0] * num[1], end = " ")
print(num[0] * 2 + num[1] *2)
Buggy python submission (verdict: Runtime Error):

nums = [int(i) for i in input().split()]

if a < b and b < c:
    print("Yes")
else:
    print("No")

Fixed submission:
nums = [int(i) for i in input().split()]

if nums[0] < nums[1] and nums[1] < nums[2]:
    print("Yes")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
print(x^3)

Fixed submission:
x = int(input())
print(x * x * x)
Buggy python submission (verdict: Runtime Error):
InputData=[]
while True:
    try:
        in1,in2 = map(int,raw_input().split(" "))  # Python2
        if in1==0 and in2==0 : break
        InputData.append([in1,in2])
    except EOFError:
        break

for i in range(len(InputData)):
    in1,in2 = InputData[i]
    x = int(in1) * int(in2)
	y = int(in1) + int(in2) + int(in1) + int(in2)
	)
    print(x y)

Fixed submission:
InputData=[]
while True:
    try:
        in1,in2 = map(int,raw_input().split(" "))  # Python2
        if in1==0 and in2==0 : break
        InputData.append([in1,in2])
    except EOFError:
        break

for i in range(len(InputData)):
    in1,in2 = InputData[i]
    x = int(in1) * int(in2)
    y = (int(in1) + int(in2)) * 2
    print(str(x) + " " + str(y))

Buggy python submission (verdict: Runtime Error):
a = int(input())
b = int(input())
if (3 <= a <= 5) and (3 <= b <= 5):
    print(a * b)

Fixed submission:
a = input()
num = a.split()
x, y = int(num[0]), int(num[1])
if (1 <= x <= 100) and (1 <= y <= 100):
    print(str(x * y)+ ' ' +  str((x + y) * 2))
Buggy python submission (verdict: Runtime Error):
i = 1
while 1:
    x = input().int()
    if i > 10000 or x = 0 or (1 <= x <= 10000):
        break
    print('Case ' + str(i) + ': ' + x)

Fixed submission:
i = 1
while 1:
    x = int(input())
    if i > 10000 or (x < 1 or 10000 < x):
        break
    print('Case ' + str(i) + ': ' + str(x))
    i += 1
Buggy python submission (verdict: Runtime Error):
import math
r = int(input())
print('{0:.5f} {1:.5f}'.format(math.pi * (r**2), 2 * math.pi * r))

Fixed submission:
import math
r = float(input())
print('{0:.5f} {1:.5f}'.format(math.pi * (r**2), 2 * math.pi * r))
Buggy python submission (verdict: Runtime Error):
inputa = input()

inputa3 = inputa ** 3

print(inputa3)

Fixed submission:
x = int(input())

print(x ** 3)
Buggy python submission (verdict: Runtime Error):
 i=input()
 
 a,b = i.split(' ')
 v,h = int(a),int(b)
 
 area = v * h
 div = 2 * (v + h)
 
 print(' '.join([str(area),str(div)]))
 ~                                      

Fixed submission:
i=input()
 
a,b = i.split(' ')
v,h = int(a),int(b)
 
area = v * h
div = 2 * (v + h)
 
print(' '.join([str(area),str(div)]))

Buggy python submission (verdict: Runtime Error):
 i=input()
 
 a,b = i.split(' ')
 v,h = int(a),int(b)
 
 area = v * h
 div = 2 * (v + h)
 
 print(' '.join([str(area),str(div)]))                                      

Fixed submission:
i=input()
 
a,b = i.split(' ')
v,h = int(a),int(b)
 
area = v * h
div = 2 * (v + h)
 
print(' '.join([str(area),str(div)]))

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

Fixed submission:
a,b = list(map(int,input().split(" ")))
print(a*b,a*2+b*2)
Buggy python submission (verdict: Runtime Error):
1 <= x <= 100
x = int(input())
print(x ** 3)

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

Buggy python submission (verdict: Runtime Error):
1 < x < 100
x = int(input())
print(x ** 3)

Fixed submission:
x = int(input())
print(x ** 3)
Buggy python submission (verdict: Runtime Error):
a,b=map(int, raw_input().split())

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

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

if a>b:
 print 'a > b'
elif a<b:
 print 'a < b'
else :
 print 'a == b'
Buggy python submission (verdict: Runtime Error):
while True:
  x=raw_input()
  if x=(0)
  break
  
print("0")

Fixed submission:
count = 0
while True:
    x=raw_input()
    count += 1
    if x == '0':
      break
    print('Case ' + str(count) + ': ' + x)

Buggy python submission (verdict: Runtime Error):
a = 1
while True:
  read each x=raw_input()
  if x=0:
   print(0)
   break

Fixed submission:
count = 0
while True:
    x=raw_input()
    count += 1
    if x == '0':
      break
    print('Case ' + str(count) + ': ' + x)

Buggy python submission (verdict: Runtime Error):
count = 0
while True:
    x=raw_input()
    count + =1
    if x == '0':
      break
    print('Case' + count + ':' + x)  

    
    

Fixed submission:
count = 0
while True:
    x=raw_input()
    count += 1
    if x == '0':
      break
    print('Case ' + str(count) + ': ' + x)
Buggy python submission (verdict: Runtime Error):
while True:
  x, y = map(int, raw_input().split())
   if x>y:
    print('y x') 
   elif x<y:  
    print('x y')
   else x, y == '0':
    break

Fixed submission:
while True:
  x, y = map(int, raw_input().split())
  if x == 0 and y == 0:
    break
  elif x > y:
    print y, x 
  elif x < y or x == y:
    print x, y

Buggy python submission (verdict: Runtime Error):
while True:
  x, y = map(int, raw_input().split())
   if x>y:
    print('y x') 
   elif x<y:
    print('x y')
   else x and y == '0'
    break

Fixed submission:
while True:
  x, y = map(int, raw_input().split())
  if x == 0 and y == 0:
    break
  elif x > y:
    print y, x 
  elif x < y or x == y:
    print x, y

Buggy python submission (verdict: Runtime Error):
while True:
  x, y = map(int, raw_input().split())
   if x>y:
    print('y x') 
    continue
   elif x<y:
    print('x y')
    continue
   else x and y == '0'
    break

Fixed submission:
while True:
  x, y = map(int, raw_input().split())
  if x == 0 and y == 0:
    break
  elif x > y:
    print y, x 
  elif x < y or x == y:
    print x, y

Buggy python submission (verdict: Runtime Error):
while True:
  x, y = map(int, raw_input().split())
   if x>y:
    print y, x 
    continue
   elif x<y:
    print x, y
    continue
   else x == 0 and y == 0:
    break

Fixed submission:
while True:
  x, y = map(int, raw_input().split())
  if x == 0 and y == 0:
    break
  elif x > y:
    print y, x 
  elif x < y or x == y:
    print x, y

Buggy python submission (verdict: Runtime Error):
while True:
  x, y = map(int, raw_input().split())
   if x>y:
    print y, x 
  elif x<y:
    print x, y
  continue
  elif x == 0 and y == 0:
    break
  elif x==y:
    print x, y
  continue
  

Fixed submission:
while True:
  x, y = map(int, raw_input().split())
  if x == 0 and y == 0:
    break
  elif x > y:
    print y, x 
  elif x < y or x == y:
    print x, y

Buggy python submission (verdict: Runtime Error):
while True:
  x, y = map(int, raw_input().split())
  if x == 0 and y == 0:
    break
  elif x>y:
    print y, x 
  else x<=y:
    print x, y
  continue
  
  

Fixed submission:
while True:
  x, y = map(int, raw_input().split())
  if x == 0 and y == 0:
    break
  elif x > y:
    print y, x 
  elif x < y or x == y:
    print x, y

Buggy python submission (verdict: Runtime Error):
while True:
  x, y = map(int, raw_input().split())
  if x == 0 and y == 0:
    break
  elif x>y:
    print y, x 
  else x<=y:
    print x, y
  
  

Fixed submission:
while True:
  x, y = map(int, raw_input().split())
  if x == 0 and y == 0:
    break
  elif x > y:
    print y, x 
  elif x < y or x == y:
    print x, y
Buggy python submission (verdict: Runtime Error):
a,b,c = map(int, raw_input().split)

count=0
for x in range(a,b+1):
    if  c%x == 0:
     print(str(count+=1) + x)
       
  

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

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
a,b,c = map(int, raw_input().split)

count=0
for x in range(a,b+1):
    if  c%x == 0:
     print(str(count += 1) + x)
       
  

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

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
a,b,c = map(int, raw_input().split)

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print  ('x')     
       
  

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

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
a,b,c = map(int, raw_input().split)

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print  ('count')     
       

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

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
a,b,c = map(int, raw_input().split)

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print('count')     
     

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

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
a,b,c = map(int, raw_input().split)

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print(count)     
       

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

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
a,b,c = map(int, raw_input().split)

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print(str(count))     
       
  

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

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
a,b,c = map(int, raw_input().split)

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print(count)     
       

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

count=0
for x in range(a,b+1):
    if  c%x == 0:
       count += 1
print(count)
Buggy python submission (verdict: Runtime Error):
x = input()
print(x**3)

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

Buggy python submission (verdict: Runtime Error):
input x

pow(n,3)


Fixed submission:
x=input('')

print(int(x)**3)

Buggy python submission (verdict: Runtime Error):
n=input('input: ')

a=pow(n,3)
print(a)



Fixed submission:
x=input('')

print(int(x)**3)
Buggy python submission (verdict: Runtime Error):
a,b,c=[int(x) for x in input().split()]

count=0
for d in xrange(a,b+1):
    if c%d==0: count+=1
print(count)



Fixed submission:

x=input().split()
a=int(x[0])
b=int(x[1])
c=int(x[2])

count=0
for d in range(a,b+1):
    if c%d==0: count+=1
print(count)

Buggy python submission (verdict: Runtime Error):
a,b,c=[int(x) for x in input().split()]

count=0
for d in xrange(a,b+1):
    if c%d==0: count+=1
print(count)



Fixed submission:

x=input().split()
a=int(x[0])
b=int(x[1])
c=int(x[2])

count=0
for d in range(a,b+1):
    if c%d==0: count+=1
print(count)

Buggy python submission (verdict: Runtime Error):
a,b,c=[int(x) for x in input().split()]

count=0
for d in xrange(a,b+1):
    if c%d==0: count+=1
print(count)



Fixed submission:

x=input().split()
a=int(x[0])
b=int(x[1])
c=int(x[2])

count=0
for d in range(a,b+1):
    if c%d==0: count+=1
print(count)
Buggy python submission (verdict: Runtime Error):
s = input()
print(s**3)


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

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



Fixed submission:
s = int(input())
print(s**3)
Buggy python submission (verdict: Runtime Error):
x = []
a = 0
while True:
    x.append(int(input()))
    if x[a] == 0 or a == 9999:
        break
    a += 1
i = 0
while True:
    if x[i] == 0 or i == 10000:
        break
    print('Case ' + str(i + 1) + ': ' + str(x[i]))
    i += 1


Fixed submission:
x = []
a = 0
while True:
    x.append(int(input()))
    if x[a] == 0 or a == 9999:
        break
    a += 1
i = 0
for b in x:
    if b == 0 or i == 10000:
        break
    print('Case ' + str(i + 1) + ': ' + str(b))
    i += 1
Buggy python submission (verdict: Runtime Error):
r, c = map(int, input().split())

d = [0] * (c + 1)

for i in range(r):
    d[i] = list(map(int, input().split()))
    d[i].append(0)
    for j in range(c):
        d[i][c] += d[i][j]

d[r] = [0] * (c + 1)
for i in range(c + 1):
    for j in range(r):
        d[r][i] += d[j][i]

for i in range(r + 1):
    row = ''
    for j in range(c + 1):
        row += str(d[i][j])
        if j <= c - 1:
            row += ' '
    print(row)



Fixed submission:
r, c = map(int, input().split())

d = [0] * (r + 1)

for i in range(r):
    d[i] = list(map(int, input().split()))
    d[i].append(0)
    for j in range(c):
        d[i][c] += d[i][j]

d[r] = [0] * (c + 1)
for i in range(c + 1):
    for j in range(r):
        d[r][i] += d[j][i]

for i in range(r + 1):
    row = ''
    for j in range(c + 1):
        row += str(d[i][j])
        if j <= c - 1:
            row += ' '
    print(row)
Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split())
j = 0
while i in range(a, b + 1)
    if c % i == 0:
        j += 1
print (j)



Fixed submission:
a, b, c = map(int, input().split())
j = 0
for i in range(a, b + 1):
    if c % i == 0:
        j += 1
print (j)
Buggy python submission (verdict: Runtime Error):
import math
a = float(input())
print (a ** 2.0 * math.pi, a * 2.0 * math.pi)



Fixed submission:
a, b = map(int, input().split())
print (a // b, a % b , "%.9f" % (a / b))

Buggy python submission (verdict: Runtime Error):
a = float(input())
print (a ** 2.0 * 3.14159265359, a * 2.0 * 3.14159265359)



Fixed submission:
a, b = map(int, input().split())
print (a // b, a % b , "%.9f" % (a / b))