Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
nums = input().sprit()
(W, H, x, y, r) = [int(i) for i in input().split()]
if r <= x <= W - r and r <= y <= H - r:
    print("Yes")
else:
    print("No")

Fixed submission:
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])
 
if a > b:
    tmp = a
    a = b
    b = tmp
if b > c:
    tmp = b
    b = c
    c = tmp
if a > b:
    tmp = a
    a = b
    b = tmp
 
print(a, b, c)

Buggy python submission (verdict: Runtime Error):
import sys
(W, H, x, y, r) = [int(i) for i in sys.stdin.readline().split()]
if r <= x <= W - r and r <= y <= H - r:
    print("Yes")
else:
    print("No")

Fixed submission:
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])
 
if a > b:
    tmp = a
    a = b
    b = tmp
if b > c:
    tmp = b
    b = c
    c = tmp
if a > b:
    tmp = a
    a = b
    b = tmp
 
print(a, b, c)

Buggy python submission (verdict: Runtime Error):
nums = input().split()
nums = [int(i) for i in input().split()]
nums.sort
print(nums)

Fixed submission:
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])
 
if a > b:
    tmp = a
    a = b
    b = tmp
if b > c:
    tmp = b
    b = c
    c = tmp
if a > b:
    tmp = a
    a = b
    b = tmp
 
print(a, b, c)

Buggy python submission (verdict: Runtime Error):
nums = int( input().split())
nums.sort
print(nums)

Fixed submission:
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])
 
if a > b:
    tmp = a
    a = b
    b = tmp
if b > c:
    tmp = b
    b = c
    c = tmp
if a > b:
    tmp = a
    a = b
    b = tmp
 
print(a, b, c)

Buggy python submission (verdict: Runtime Error):
nums = [int(i) for i in input().split()]
nums.sort
print( %d %d %d % nums)

Fixed submission:
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])
 
if a > b:
    tmp = a
    a = b
    b = tmp
if b > c:
    tmp = b
    b = c
    c = tmp
if a > b:
    tmp = a
    a = b
    b = tmp
 
print(a, b, c)

Buggy python submission (verdict: Runtime Error):
if a > b:
    tmp = a
    a = b
    b = tmp
if b > c:
    tmp = b
    b = c
    c = tmp
if a > b:
    tmp = a
    a = b
    b = tmp

pritn(a, b, c)

Fixed submission:
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])
 
if a > b:
    tmp = a
    a = b
    b = tmp
if b > c:
    tmp = b
    b = c
    c = tmp
if a > b:
    tmp = a
    a = b
    b = tmp
 
print(a, b, c)

Buggy python submission (verdict: Runtime Error):
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])

if a > b:
    tmp = a
    a = b
    b = tmp
if b > c:
    tmp = b
    b = c
    c = tmp
if a > b:
    tmp = a
    a = b
    b = tmp

pritn(a, b, c)

Fixed submission:
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])
 
if a > b:
    tmp = a
    a = b
    b = tmp
if b > c:
    tmp = b
    b = c
    c = tmp
if a > b:
    tmp = a
    a = b
    b = tmp
 
print(a, b, c)
Buggy python submission (verdict: Runtime Error):
 while True:
     (x, y) = [int(i) for i in input().split()]
     if x == 0:
         break
 
     if x > y:
         a = y
         y = x
         x = a
 
     print(x, y)

Fixed submission:
count = 1
while True:
    x = input().strip()
    if x == '0':
        break
    else:
        print( 'Case %s: %s' % ( count, x))
        count += 1
Buggy python submission (verdict: Runtime Error):
(a, b) = [int(i) for i in input().split()]
  d = int(a / b)
  r = a % b
  f = a / b
  print('%s %s %.5f' % (d, r, f))

Fixed submission:
(a, b) = [int(i) for i in input().split()]
d = int(a / b)
r = a % b
f = a / b
print('%s %s %.5f' % (d, r, f))
Buggy python submission (verdict: Runtime Error):
while True:
(a, op, b) = [int(i) if i.isdigit() else i for i in input().split()]

if op == '?':
    break
elif op =='+':
    print(a + b)
elif op == '-':
    print(a - b)
elif op == '*':
    print(a * b)
elif op == '/':
    print(a // b)

Fixed submission:
while True:
    (a, op, b) = [int(i) if i.isdigit() else i for i in input().split()]
    if op == '?':
        break
    elif op =='+':
        print(a + b)
    elif op == '-':
        print(a - b)
    elif op == '*':
        print(a * b)
    elif op == '/':
        print(a // b)

Buggy python submission (verdict: Runtime Error):
while True:
(a, op, b) = [int(i) if i.isdigit() else i for i in input().split()]

if op == '?':
break
elif op =='+':
print(a + b)
elif op == '-':
print(a - b)
elif op == '*':
print(a * b)
elif op == '/':
print(a // b)

Fixed submission:
while True:
    (a, op, b) = [int(i) if i.isdigit() else i for i in input().split()]
    if op == '?':
        break
    elif op =='+':
        print(a + b)
    elif op == '-':
        print(a - b)
    elif op == '*':
        print(a * b)
    elif op == '/':
        print(a // b)

Buggy python submission (verdict: Runtime Error):
while True:
(a, op, b) = [int(i) if i.isdigit() else i for i in input().split()]

if op == '?':
    break
elif op =='+':
    print(a + b)
elif op == '-':
    print(a - b)
elif op == '*':
    print(a * b)
else op == '/':
    print(a // b)

Fixed submission:
while True:
    (a, op, b) = [int(i) if i.isdigit() else i for i in input().split()]
    if op == '?':
        break
    elif op =='+':
        print(a + b)
    elif op == '-':
        print(a - b)
    elif op == '*':
        print(a * b)
    elif op == '/':
        print(a // b)

Buggy python submission (verdict: Runtime Error):
while True:
(a, op, b) = [int(i) if i.isdigit() else i for i in input().split()]

if op == '?':
break
elif op =='+':
print(a + b)
elif op == '-':
print(a - b)
elif op == '*':
print(a * b)
else op == '/':
print(a // b)

Fixed submission:
while True:
    (a, op, b) = [int(i) if i.isdigit() else i for i in input().split()]
    if op == '?':
        break
    elif op =='+':
        print(a + b)
    elif op == '-':
        print(a - b)
    elif op == '*':
        print(a * b)
    elif op == '/':
        print(a // b)
Buggy python submission (verdict: Runtime Error):
cards = {
        'S': [0 for _ in range(13)],
        'H': [0 for _ in range(13)],
        'C': [0 for _ in range(13)],
        'D': [0 for _ in range(13)],
}
n = int(input())
for _ in range(n):
    (s, r) = input().split()
    cards[s][int(r) - 1] = 1
 
for s in ('S', 'H', 'C', 'D'):
    for r in range(13):
        if cards[s][r] == 0:
            print(s, r + 1)

Fixed submission:
data = [[[0 for r in range(10)] for f in range(3)] for b in range(4)]
n = int(input())
for _ in range(n):
    (b, f, r, v) = [int(i) for i in input().split()]
    data[b - 1][f - 1][r - 1] += v
 
for b in range(4):
    for f in range(3):
        for r in range(10):
            print('', data[b][f][r], end='')
        print()
    if b != 3:
        print('#' * 20)

Buggy python submission (verdict: Runtime Error):
cards = {
        'S': [0 for _ in range(13)],
        'H': [0 for _ in range(13)],
        'C': [0 for _ in range(13)],
        'D': [0 for _ in range(13)],
}
n = int(input())
for _ in range(n):
    (s, r) = input().split()
    cards[s][int(r) - 1] = 1
  
for s in ('S', 'H', 'C', 'D'):
    for r in range(13):
        if cards[s][r] == 0:
            print(s, r + 1)

Fixed submission:
data = [[[0 for r in range(10)] for f in range(3)] for b in range(4)]
n = int(input())
for _ in range(n):
    (b, f, r, v) = [int(i) for i in input().split()]
    data[b - 1][f - 1][r - 1] += v
 
for b in range(4):
    for f in range(3):
        for r in range(10):
            print('', data[b][f][r], end='')
        print()
    if b != 3:
        print('#' * 20)
Buggy python submission (verdict: Runtime Error):
(n, m) = [int(i) for i in input().split()]
A = [[]]
b = []
for i input range(n):
    A.append([int(j) for j in input().split()])
  
for i in range(m):
    b.append(int(input()))
  
c = []
for i in range(n):
    s = 0
    for j in range(m)
        s += A[n][m] * b[m]

Fixed submission:
(n, m) = [int(i) for i in input().split()]
A = []
b = []
for i in range(n):
    A.append([int(j) for j in input().split()])
   
for r in range(m):
    b.append(int(input()))
   
for i in range(n):
    s = 0
    for j in range(m):
        s += A[i][j] * b[j]
    print(s)

Buggy python submission (verdict: Runtime Error):
(n, m) = [int(i) for i in input().split()]
 A = [[]]
 b = []
 for i input range(n):
     A.append([int(j) for j in input().split()])
  
 for i in range(m):
     b.append(int(input()))
  
 c = []
 for i in range(n):
     s = 0
     for j in range(m)
           s += A[n][m] * b[m]

Fixed submission:
(n, m) = [int(i) for i in input().split()]
A = []
b = []
for i in range(n):
    A.append([int(j) for j in input().split()])
   
for r in range(m):
    b.append(int(input()))
   
for i in range(n):
    s = 0
    for j in range(m):
        s += A[i][j] * b[j]
    print(s)
Buggy python submission (verdict: Runtime Error):
while True:
    (m, f, r) = [int(i) for i in input().split()]
    if m == f == r == -1:
        break

    total = m + f
    if m == -1 or f == -1 or total < 30:
        print('F')
    elif total < 50 and r < 5-:
        print('D')
    elif total < 65:
        print('C')
    elif total < 85:
        print('B')
    else:
        print('A')

Fixed submission:
while True:
    (m, f, r) = [int(i) for i in input().split()]
    if m == f == r == -1:
        break

    total = m + f
    if m == -1 or f == -1 or total < 30:
        print('F')
    elif total < 50 and r < 50:
        print('D')
    elif total < 65:
        print('C')
    elif total < 80:
        print('B')
    else:
        print('A')
Buggy python submission (verdict: Runtime Error):
while True:
    (n, x) = [int(i) for i in input().split()]
    if n == x ==0
        break

Fixed submission:
while True:
    n, x = map(int, input().split())
    if n == x == 0:
        break
  
    result = 0
    for a in range(1, x // 3):
        for b in range(a + 1,  x // 2):
            c = x - a - b
            if b < c <= n:
                result += 1    
    print(result)

Buggy python submission (verdict: Runtime Error):
while True:
    (n, x) = [int(i) for i in input().split()]
    if n == x ==0
        break

Fixed submission:
while True:
    n, x = map(int, input().split())
    if n == x == 0:
        break
  
    result = 0
    for a in range(1, x // 3):
        for b in range(a + 1,  x // 2):
            c = x - a - b
            if b < c <= n:
                result += 1    
    print(result)
Buggy python submission (verdict: Runtime Error):
(r, c) = [int(i) for i in input().split()]
    src = []
    for i in range(r):
        src.append([int(i) for i in input().split()])

print(src)

Fixed submission:
(r, c) = [int(i) for i in input().split()]
src = []
for _ in range(r):
    row = [int(i) for i in input().split()]
    row.append(sum(row))
    src.append(row)
last_row = [0 for _ in range(c + 1)]
for rc in range(r):
    for cc in range(c+1):
        last_row[cc] += src[rc][cc]
src.append(last_row)
 
for rc in range(r+1):
    print(' '.join([str(a) for a in src[rc]]))

Buggy python submission (verdict: Runtime Error):
(r, c) = [int(i) for i in input().split()]
src = []
for _ in range(r):
    row = ([int(i) for i in input().split()])
    row.append(sum(row))
    src.append(row)

last_row = [0 for _ in range(c+1)]
for rc in range(r):
    for cc in range(c):
        last_row += src[rc][cc]
src.append(last_row)

for rc in range(r+1):

Fixed submission:
(r, c) = [int(i) for i in input().split()]
src = []
for _ in range(r):
    row = [int(i) for i in input().split()]
    row.append(sum(row))
    src.append(row)
last_row = [0 for _ in range(c + 1)]
for rc in range(r):
    for cc in range(c+1):
        last_row[cc] += src[rc][cc]
src.append(last_row)
 
for rc in range(r+1):
    print(' '.join([str(a) for a in src[rc]]))

Buggy python submission (verdict: Runtime Error):
(r, c) = [int(i) for i in input().split()]
src = []
for _ in range(r):
    row = ([int(i) for i in input().split()])
    row.append(sum(row))
    src.append(row)

last_row = [0 for _ in range(c+1)]
for rc in range(r):
    for cc in range(c):
        last_row += src[rc][cc]
src.append(last_row)

for rc in range(r+1):
    print(' '.join([str(a) for a in src[rc]]))

Fixed submission:
(r, c) = [int(i) for i in input().split()]
src = []
for _ in range(r):
    row = [int(i) for i in input().split()]
    row.append(sum(row))
    src.append(row)
last_row = [0 for _ in range(c + 1)]
for rc in range(r):
    for cc in range(c+1):
        last_row[cc] += src[rc][cc]
src.append(last_row)
 
for rc in range(r+1):
    print(' '.join([str(a) for a in src[rc]]))
Buggy python submission (verdict: Runtime Error):
print(x**3)

Fixed submission:
num = input()
num = int(num)
print(num**3)
Buggy python submission (verdict: Runtime Error):
( a, b) = input(), sprit()
a = int(a)
b = int(b)
a*b a*2+b*2

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

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

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

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

Fixed submission:
( a, b) = input().split()
a = int(a)
b = int(b)
print(a*b, a*2+b*2)
Buggy python submission (verdict: Runtime Error):
nums = input().split()
a = int(num[0])
b = int(num[1])
c = int(num[2])

if a > b:
    tmp = a
    a = b
    b = tmp
if b > c:
    tmp = b
    b = c
    c = tmp
print(a, b, c)

Fixed submission:
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])
  
if a > b:
    tmp = a
    a = b
    b = tmp
if b > c:
    tmp = b
    b = c
    c = tmp
if a > b:
    tmp = a
    a = b
    b = tmp
  
print(a, b, c)

Buggy python submission (verdict: Runtime Error):
nums = input().split()
a = int(num[0])
b = int(num[1])
c = int(num[2])

if a > b:
    tmp = a
    a = b
    b = tmp
if b > c:
    tmp = b
    b = c
    c = tmp
if a > b:
    tmp = a
    a = b
    b = tmp
print(a, b, c)

Fixed submission:
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])
  
if a > b:
    tmp = a
    a = b
    b = tmp
if b > c:
    tmp = b
    b = c
    c = tmp
if a > b:
    tmp = a
    a = b
    b = tmp
  
print(a, b, c)
Buggy python submission (verdict: Runtime Error):
(w, h, x, y, r) = input().sprit(' ')
w = int(w)
h = int(h)
x = int(x)
y = int(y)
r = int(r)

if 0 + r <= x <= w - r and 0 + r <= y <= h - r:
    print('Yes')
else:
    print('No')

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

if 0 + r <= x <= w - r and 0 + r <= y <= h - r:
    print('Yes')
else:
    print('No')
Buggy python submission (verdict: Runtime Error):
while True:
    (x, y) = [int(i) for i in sys.stdin.readline().split(' ')]
    if x == 0 and y == 0
        break     
    if x > y:
        z = x
        x = y
        y = z     
    print(x, y)

Fixed submission:
import sys     
while True:
    (x, y) = [int(i) for i in sys.stdin.readline().split(' ')]     
    if x == 0 and y == 0:
        break     
    if x > y:
        z = x
        x = y
        y = z     
    print(x, y)
Buggy python submission (verdict: Runtime Error):
nums = input().sprit()
a = int(nums[0])
b = int(nums[1])
print(a * b,(a + b) * 2)

Fixed submission:
nums = input().split()
a = int(nums[0])
b = int(nums[1])
print(a * b,(a + b) * 2)

Buggy python submission (verdict: Runtime Error):
nums = input().sprit()
a = int(nums[0])
b = int(nums[1])
print(a * b,(a + b) * 2)

Fixed submission:
nums = input().split()
a = int(nums[0])
b = int(nums[1])
print(a * b,(a + b) * 2)
Buggy python submission (verdict: Runtime Error):
cards = {
				'S': [0 for _ in range(13)],
        'H': [0 for _ in range(13)],
        'C': [0 for _ in range(13)],
        'D': [0 for _ in range(13)],
}
n = int(input())
for _ in range(n):
	(s, r) = input.().split()
	cards[s][int(r) - 1] = 1

for s in ('S', 'H', 'C', 'D',):
	for r in range(13):
		if cards [s] [r] == 0:
			print(s, r + 1)

Fixed submission:
cards = {
        'S': [0 for _ in range(13)],
        'H': [0 for _ in range(13)],
        'C': [0 for _ in range(13)],
        'D': [0 for _ in range(13)],
}
n = int(input())
for _ in range(n):
    (s, r) = input().split()
    cards[s][int(r) - 1] = 1
    
for s in ('S', 'H', 'C', 'D'):
    for r in range(13):
        if cards[s][r] == 0:
            print(s, r + 1)

Buggy python submission (verdict: Runtime Error):
cards = {
        'S': [0 for _ in range(13)],
        'H': [0 for _ in range(13)],
        'C': [0 for _ in range(13)],
        'D': [0 for _ in range(13)],
}
n = int(input())
for _ in range(n):
	(s, r) = input.().split()
	cards[s][int(r) - 1] = 1

for s in ('S', 'H', 'C', 'D',):
	for r in range(13):
		if cards [s] [r] == 0:
			print(s, r + 1)

Fixed submission:
cards = {
        'S': [0 for _ in range(13)],
        'H': [0 for _ in range(13)],
        'C': [0 for _ in range(13)],
        'D': [0 for _ in range(13)],
}
n = int(input())
for _ in range(n):
    (s, r) = input().split()
    cards[s][int(r) - 1] = 1
    
for s in ('S', 'H', 'C', 'D'):
    for r in range(13):
        if cards[s][r] == 0:
            print(s, r + 1)
Buggy python submission (verdict: Runtime Error):
S = int(input())
h = 46979 / 3600
m = 179 / 60
s = 46979 % 60
pirnt(h, m, s, sep=':')

Fixed submission:
S = int(input())
h = S // 3600
m = S % 3600 // 60
s = S % 3600 % 60
print(h,m,s,sep=':')

Buggy python submission (verdict: Runtime Error):
S = int(input())
h = 46979 / 3600
m = 46979 % 3600 /60
s = 46979 % 3600 % 60
print(h,m,s,sep=':' end='')

Fixed submission:
S = int(input())
h = S // 3600
m = S % 3600 // 60
s = S % 3600 % 60
print(h,m,s,sep=':')

Buggy python submission (verdict: Runtime Error):
S = int(input())
h = 46979 / 3600
m = 46979 % 3600 /60
s = 46979 % 3600 % 60
print(h,m,s,sep=':')

Fixed submission:
S = int(input())
h = S // 3600
m = S % 3600 // 60
s = S % 3600 % 60
print(h,m,s,sep=':')

Buggy python submission (verdict: Runtime Error):
S = int(input())
h = S / 3600
m = S % 3600 /60
s = S % 3600 % 60
print(h,m,s,sep=':')

Fixed submission:
S = int(input())
h = S // 3600
m = S % 3600 // 60
s = S % 3600 % 60
print(h,m,s,sep=':')
Buggy python submission (verdict: Runtime Error):
nums = input().split()
a = int(nums[0])
b = int(nums[1])
if a < b:
    print('a < b')
elif a > b:
    print('a > b')
elif:
    print('a == b')

Fixed submission:
a, b = map(int, input().split())
if a < b:
  print('a < b')
elif a > b:
  print('a > b')
elif a == b:
  print('a == b')
else:
  pass

Buggy python submission (verdict: Runtime Error):
if a < b:
  print('a < b')
if a > b:
  print('a > b')
if a == b:
  print('a == b')
else:
  pass

Fixed submission:
a, b = map(int, input().split())
if a < b:
  print('a < b')
elif a > b:
  print('a > b')
elif a == b:
  print('a == b')
else:
  pass

Buggy python submission (verdict: Runtime Error):
if a < b:
  return print('a < b')
if a > b:
  return print('a > b')
if a == b:
  return print('a == b')
else:
  pass

Fixed submission:
a, b = map(int, input().split())
if a < b:
  print('a < b')
elif a > b:
  print('a > b')
elif a == b:
  print('a == b')
else:
  pass

Buggy python submission (verdict: Runtime Error):
if a < b:
  return print('a < b')
elif a > b:
  return print('a > b')
elif a == b:
  return print('a == b')
else:
  pass

Fixed submission:
a, b = map(int, input().split())
if a < b:
  print('a < b')
elif a > b:
  print('a > b')
elif a == b:
  print('a == b')
else:
  pass

Buggy python submission (verdict: Runtime Error):
if a < b:
  return a < b
if a > b:
  return a > b
if a == b:
  return a == b
else:
  pass

Fixed submission:
a, b = map(int, input().split())
if a < b:
  print('a < b')
elif a > b:
  print('a > b')
elif a == b:
  print('a == b')
else:
  pass
Buggy python submission (verdict: Runtime Error):
a, b = map(int, input().split())
if a < b < c:
  print('Yes')
else:
  print('No')

Fixed submission:
a, b, c = map(int, input().split())
if a < b < c:
  print('Yes')
else:
  print('No')
Buggy python submission (verdict: Runtime Error):
nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
????????
if (x - r) >= 0 and (x + r) <= W:
????????if (y - r) >= 0 and (y + r) <= H:
????????????????print( "Yes")
????????else:
????????????????print( "No")
else:
????????print( "No")

Fixed submission:
nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
if (x - r) >= 0 and (x + r) <= W:
    if (y - r) >= 0 and (y + r) <= H:
        print("Yes")
    else:
        print("No")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
????????
if (x - r) >= 0 and (x + r) <= W:
    if (y - r) >= 0 and (y + r) <= H:
        print("Yes")
    else:
        print("No")
else:
????????print("No")

Fixed submission:
nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
if (x - r) >= 0 and (x + r) <= W:
    if (y - r) >= 0 and (y + r) <= H:
        print("Yes")
    else:
        print("No")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
count = 1
while True:
x = input().strip()
if x == '0':
   break
print('Case %s: %s' % (count, x))
count = count + 1

Fixed submission:
import sys
count = 1
while True:
    x = input().strip()
    if x == '0':
         break
    print('Case %s: %s' % (count, x))
    count = count + 1

Buggy python submission (verdict: Runtime Error):
count = 1
while True:
x = input().strip()
if x == '0':
     break
print('Case %s: %s' % (count, x))
count = count + 1

Fixed submission:
import sys
count = 1
while True:
    x = input().strip()
    if x == '0':
         break
    print('Case %s: %s' % (count, x))
    count = count + 1
Buggy python submission (verdict: Runtime Error):
 (a, b) = [int(i) for i in input()]
  2 d = a // b
  3 r = a % b
  4 f = a / b
  5 print('%s %s %.5f' % (d, r, f)

Fixed submission:
(a, b) = [int(i) for i in input().split()]
  
while True:
    d = a // b
    r = a % b
    f = a / b
    print( '{0:d} {1:d} {2:.5f}'.format( d, r, f))
    break

Buggy python submission (verdict: Runtime Error):
(a, b) = [int(i) for i in input()]
d = a // b
r = a % b
f = a / b
print('%s %s %.5f' % (d, r, f)

Fixed submission:
(a, b) = [int(i) for i in input().split()]
  
while True:
    d = a // b
    r = a % b
    f = a / b
    print( '{0:d} {1:d} {2:.5f}'.format( d, r, f))
    break

Buggy python submission (verdict: Runtime Error):
(a, b) = [int(i) for i in input()]
d = a // b
r = a % b
f = a / b
print('%s %s %.5f' % (d, r, f)

Fixed submission:
(a, b) = [int(i) for i in input().split()]
  
while True:
    d = a // b
    r = a % b
    f = a / b
    print( '{0:d} {1:d} {2:.5f}'.format( d, r, f))
    break

Buggy python submission (verdict: Runtime Error):
(a, b) = [int(i) for i in input()]

while True:
    d = a // b
    r = a % b
    f = a / b
    print( '{0:d} {1:d} {2:.5f}'.format( d, r, f))
    break

Fixed submission:
(a, b) = [int(i) for i in input().split()]
  
while True:
    d = a // b
    r = a % b
    f = a / b
    print( '{0:d} {1:d} {2:.5f}'.format( d, r, f))
    break

Buggy python submission (verdict: Runtime Error):
a, b) = [int(i) for i in input().split()]
 
while True:
    d = a // b
    r = a % b
    f = a / b
    print( '{0:d} {1:d} {2:.5f}'.format( d, r, f))
    break

Fixed submission:
(a, b) = [int(i) for i in input().split()]
  
while True:
    d = a // b
    r = a % b
    f = a / b
    print( '{0:d} {1:d} {2:.5f}'.format( d, r, f))
    break