Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
def solve():
  X = raw_input()
  Y = raw_input()
  a = len(X)
  b = len(Y)
  c1 = [0 for i in range(b+1)]
 
  for i in range(a):
    c2 = c1 + []
    for j in range(b):
      if X[i] == Y[j]:
        c1[j+1] = c2[j] + 1
      elif c1[j+1] < c1[j]:
        c1[j+1] = c1[j]
 
  return c1[-1]
 
n = input()
for k in range(q):
  print solve()

Fixed submission:
def solve():
  X = raw_input()
  Y = raw_input()
  a = len(X)
  b = len(Y)
  c1 = [0 for i in range(b+1)]
 
  for i in range(a):
    c2 = c1 + []
    for j in range(b):
      if X[i] == Y[j]:
        c1[j+1] = c2[j] + 1
      elif c1[j+1] < c1[j]:
        c1[j+1] = c1[j]
 
  return c1[-1]
 
n = input()
for k in range(n):
  print solve()
Buggy python submission (verdict: Runtime Error):
print x*x*x:

Fixed submission:
x = raw_input()
x = int(x)
print x*x*x

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

Fixed submission:
x = raw_input()
x = int(x)
print x*x*x

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

Fixed submission:
x = raw_input()
x = int(x)
print x*x*x

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

Fixed submission:
x = raw_input()
x = int(x)
print x*x*x
Buggy python submission (verdict: Runtime Error):
a = raw_input()
b = raw_input()
print a*b 2(a+b)

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

print a*b, 2*(a+b)

Buggy python submission (verdict: Runtime Error):
a = raw_input()
b = raw_input()
print a*b
print 2(a+b)

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

print a*b, 2*(a+b)

Buggy python submission (verdict: Runtime Error):
a = raw_input()
b = raw_input()
print int(a) * int(b)

print 2*(int(a) + int(b))

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

print a*b, 2*(a+b)
Buggy python submission (verdict: Runtime Error):
S = map(int, raw_input().split())
h = S/360
m = (S%360)/60
s = (S%360%)60
print h:m:s

Fixed submission:
S = int(raw_input())
h = S/3600
m = S%3600/60
s = S%3600%60
h,m,s = map(str,(h,m,s))
print h+':'+m+':'+s

Buggy python submission (verdict: Runtime Error):
S = map(int, raw_input().split())
h = S/360
m = (S%360)/60
s = (S%360)%60
print h:m:s

Fixed submission:
S = int(raw_input())
h = S/3600
m = S%3600/60
s = S%3600%60
h,m,s = map(str,(h,m,s))
print h+':'+m+':'+s

Buggy python submission (verdict: Runtime Error):
S = map(int, raw_input().split())
h = S/3600
m = (S%3600)/60
s = (S%3600)%60
print h":"m":"s

Fixed submission:
S = int(raw_input())
h = S/3600
m = S%3600/60
s = S%3600%60
h,m,s = map(str,(h,m,s))
print h+':'+m+':'+s

Buggy python submission (verdict: Runtime Error):
S = map(int, raw_input().split())
h = S/3600
m = S%3600/60
s = S%3600%60
print h":"m":"s

Fixed submission:
S = int(raw_input())
h = S/3600
m = S%3600/60
s = S%3600%60
h,m,s = map(str,(h,m,s))
print h+':'+m+':'+s
Buggy python submission (verdict: Runtime Error):
a = input()
b = input()

if a > b:
  print 'a > b'
elif a < b:
  print 'a < b'
elif 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):
  a, b = map(int, raw_input().split())

  if a > b:
    print 'a > b'
  elif a < b:
    print 'a < b'
  else:
    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):
  a, b = map(int, raw_input().split())

  if (a > b):
    print 'a > b'
  elif (a < b):
    print 'a < b'
  else:
    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):
  a, b = map(int, raw_input().split())

  if (a > b):
    print 'a > b'
  elif a == b:
    print 'a == b'
  else:
    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):
a = map(int,raw_input().split())
a.sort()
print a[0] a[1] a[3]

Fixed submission:
a, b, c = map(int,raw_input().split())
str = [a, b, c]
str.sort()
print str[0], str[1] , str[2]

Buggy python submission (verdict: Runtime Error):
a = map(int,raw_input().split())
a.sort()
print a[0], a[1], a[3]

Fixed submission:
a, b, c = map(int,raw_input().split())
str = [a, b, c]
str.sort()
print str[0], str[1] , str[2]
Buggy python submission (verdict: Runtime Error):
i = 1
n = 1

while n  > 0:
  n = input()
  print "Cace %d: %d" % (i, n)
  i++

Fixed submission:
i = 1
while(1):
  x = int(raw_input())
  if x == 0:
    break
  print "Case %d: %d" %(i,x)
  i = i + 1

Buggy python submission (verdict: Runtime Error):
i = 1
while 1:
  n = input()
  if n == 0:
    break:
  print "Cace %d: %d" % (i, n)
  i++

Fixed submission:
i = 1
while(1):
  x = int(raw_input())
  if x == 0:
    break
  print "Case %d: %d" %(i,x)
  i = i + 1

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

Fixed submission:
i = 1
while(1):
  x = int(raw_input())
  if x == 0:
    break
  print "Case %d: %d" %(i,x)
  i = i + 1

Buggy python submission (verdict: Runtime Error):
i = 1
while 1:
  n = input()
  if n == "0":
    break
  print "Case %s: %s" % (i,n):
  i = i + 1

Fixed submission:
i = 1
while(1):
  x = int(raw_input())
  if x == 0:
    break
  print "Case %d: %d" %(i,x)
  i = i + 1

Buggy python submission (verdict: Runtime Error):
i = 1
while 1:
  n = int(raw_input())
  if n == 0:
    break
  print "Case %d: %d" % (i,n):
  i = i + 1

Fixed submission:
i = 1
while(1):
  x = int(raw_input())
  if x == 0:
    break
  print "Case %d: %d" %(i,x)
  i = i + 1

Buggy python submission (verdict: Runtime Error):
i = 1
while (1):
  n = int(raw_input())
  if n == 0:
    break
  print "Case %d: %d" % (i,n):
  i = i + 1

Fixed submission:
i = 1
while(1):
  x = int(raw_input())
  if x == 0:
    break
  print "Case %d: %d" %(i,x)
  i = i + 1

Buggy python submission (verdict: Runtime Error):
i = 1
while (1):
  n = int(raw_input())
  if n == 0:
    break
  print "Case %d: %d"%(i,n):
  i = i + 1

Fixed submission:
i = 1
while(1):
  x = int(raw_input())
  if x == 0:
    break
  print "Case %d: %d" %(i,x)
  i = i + 1

Buggy python submission (verdict: Runtime Error):
i = 1
while (1):
  n = int(raw_input())
  if n == 0:
    break
  print "Case %d: %d" %(i,n):
  i = i + 1

Fixed submission:
i = 1
while(1):
  x = int(raw_input())
  if x == 0:
    break
  print "Case %d: %d" %(i,x)
  i = i + 1

Buggy python submission (verdict: Runtime Error):
i = 1
while (1):
  x = int(raw_input())
  if x == 0:
    break
  print "Case %d: %d" %(i,x):
  i = i + 1

Fixed submission:
i = 1
while(1):
  x = int(raw_input())
  if x == 0:
    break
  print "Case %d: %d" %(i,x)
  i = i + 1
Buggy python submission (verdict: Runtime Error):
while (1):
  x,y = map(int, input()_split())
  if x == 0 and y ==0:
    break
  print "%d %d" %(min(x,y), max(x,y))

Fixed submission:
while (1):
  x,y = map(int,raw_input().split())
  if x == 0 and y ==0:
    break
  print "%d %d" %(min(x,y), max(x,y))
Buggy python submission (verdict: Runtime Error):
a, b, c = map(int,raw_input().split())
i = a
j = 0
for i in range(b-a+1):
  if c % i == 0:
    j = j + 1
print j
    

Fixed submission:
a, b, c = map(int,raw_input().split())
j = 0
for i in range(a, b+1):
  if c % i == 0:
    j = j + 1
print j

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int,raw_input().split())
i = a
j = 0
for i in range(b-a+1):
  if c % i == 0:
    j = j + 1
print "%d" % (j)
    

Fixed submission:
a, b, c = map(int,raw_input().split())
j = 0
for i in range(a, b+1):
  if c % i == 0:
    j = j + 1
print j
Buggy python submission (verdict: Runtime Error):
a,b = map(double,raw_input().split())

print "%d %d %f" %(a/b, a%b, a/b)

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

print "%d %d %f" %(a/b, a%b, float(a)/b)
Buggy python submission (verdict: Runtime Error):
n = int(raw_input())
a = raw_input().split()
max = a[0]
min = a[0]
sum = 0

for i in range(n):
  if max<a[i]: 
    max = a[i]
  if min>a[i]
    min = a[i]
  sum += a[i]

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

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

print "%d %d %d" %(min(a), max(a), sum(a))

Buggy python submission (verdict: Runtime Error):
n = int(raw_input())
a = raw_input().split()
max = a[0]
min = a[0]
sum = 0

for i in range(n):
  if max<a[i]: 
    max = a[i]
  if min>a[i]:
    min = a[i]
  sum += a[i]

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

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

print "%d %d %d" %(min(a), max(a), sum(a))
Buggy python submission (verdict: Runtime Error):
n = int(raw_input())
print "",
for i in range(n+1):
  if i%3 == 0:
    print ("{0}",.format(i))
  elif i%3 == 3:
    print ("{0}",.format(i))
  else:
    i += 1

Fixed submission:
n=input()
print"",
for i in range(1,n+1):
  if i%3==0 or str(i).count('3'):print i,

Buggy python submission (verdict: Runtime Error):
n=input()
print"",
for i in range(n+1):
  if i%3==0 or str(i).count('3'):
  print i,

Fixed submission:
n=input()
print"",
for i in range(1,n+1):
  if i%3==0 or str(i).count('3'):print i,

Buggy python submission (verdict: Runtime Error):
n=input()
print"",
for i in range(1,n+1):
  if i%3==0 or str(i).count('3'):
  print i,

Fixed submission:
n=input()
print"",
for i in range(1,n+1):
  if i%3==0 or str(i).count('3'):print i,
Buggy python submission (verdict: Runtime Error):
n = int(raw_input())
a = map(int, raw_input().split())

for i in range(n):
  print "%d" %(a[n-i])

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

for i in range(n):
  print a[n-i-1],

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

for i in range(n):
  print a[n-i],

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

for i in range(n):
  print a[n-i-1],
Buggy python submission (verdict: Runtime Error):
n = int(raw_input())
card = {"S":[0]*13, "H":[0]*13, "C":[0]*13, "D":[0]*13} 
 
for i in range(n):
  mark, nums = raw_input().split()
  deck[mark][nums] = 1
 
for i in ["S", "H", "C", "D"]:
  for j in range(13):
    if deck[i][j] == 0:
      print "%s %d" % (i, j+1)

Fixed submission:
n = int(raw_input())

card = {"S":[0]*13, "H":[0]*13, "C":[0]*13, "D":[0]*13} 
 
for i in range(n):
  mark, nums = raw_input().split()
  card[mark][int(nums)-1] = 1
 
for i in ["S", "H", "C", "D"]:
  for j in range(13):
    if card[i][j] == 0:
      print "%s %d" % (i, j+1)

Buggy python submission (verdict: Runtime Error):
n = int(raw_input())

card = {"S":[0]*13, "H":[0]*13, "C":[0]*13, "D":[0]*13} 
 
for i in range(n):
  mark, nums = raw_input().split()
  deck[mark][nums] = 1
 
for i in ["S", "H", "C", "D"]:
  for j in range(0,13):
    if deck[i][j] == 0:
      print "%s %d" % (i, j+1)

Fixed submission:
n = int(raw_input())

card = {"S":[0]*13, "H":[0]*13, "C":[0]*13, "D":[0]*13} 
 
for i in range(n):
  mark, nums = raw_input().split()
  card[mark][int(nums)-1] = 1
 
for i in ["S", "H", "C", "D"]:
  for j in range(13):
    if card[i][j] == 0:
      print "%s %d" % (i, j+1)

Buggy python submission (verdict: Runtime Error):
n = int(raw_input())

card = {"S":[0]*13, "H":[0]*13, "C":[0]*13, "D":[0]*13} 
 
for i in range(n):
  mark, nums = raw_input().split()
  deck[mark][nums-1] = 1
 
for i in ["S", "H", "C", "D"]:
  for j in range(13):
    if deck[i][j] == 0:
      print "%s %d" % (i, j+1)

Fixed submission:
n = int(raw_input())

card = {"S":[0]*13, "H":[0]*13, "C":[0]*13, "D":[0]*13} 
 
for i in range(n):
  mark, nums = raw_input().split()
  card[mark][int(nums)-1] = 1
 
for i in ["S", "H", "C", "D"]:
  for j in range(13):
    if card[i][j] == 0:
      print "%s %d" % (i, j+1)

Buggy python submission (verdict: Runtime Error):
n = int(raw_input())

card = {"S":[0]*13, "H":[0]*13, "C":[0]*13, "D":[0]*13} 
 
for i in range(n):
  mark, nums = raw_input().split()
  deck[mark][int(nums)-1] = 1
 
for i in ["S", "H", "C", "D"]:
  for j in range(13):
    if deck[i][j] == 0:
      print "%s %d" % (i, j+1)

Fixed submission:
n = int(raw_input())

card = {"S":[0]*13, "H":[0]*13, "C":[0]*13, "D":[0]*13} 
 
for i in range(n):
  mark, nums = raw_input().split()
  card[mark][int(nums)-1] = 1
 
for i in ["S", "H", "C", "D"]:
  for j in range(13):
    if card[i][j] == 0:
      print "%s %d" % (i, j+1)
Buggy python submission (verdict: Runtime Error):
n, m = map(int,raw_input().split())
 
A = [[0 for j in range(m)] for i in range(n)]
b = [0 for j in range(m)]
 
for i in range(n):
  A[i] = map(int, raw_input().split())
for j in range(m):
  b[j] = raw_input()
  
for i in range(n):
    c = 0
    for j in range(m):
        c += A[i][j] * b[j]
    print c

Fixed submission:
n, m = map(int,raw_input().split())
 
A = [[0 for j in range(m)] for i in range(n)]
b = [0 for j in range(m)]
 
for i in range(n):
  A[i] = map(int, raw_input().split())
for j in range(m):
  b[j] = input()
  
for i in range(n):
    c = 0
    for j in range(m):
        c += A[i][j] * b[j]
    print c
Buggy python submission (verdict: Runtime Error):
#!/usr/bin/env python
from _future_ import division, print_function
from sys import stdin
from Quene import Quene

def main()
    num = int(stdin.readline())

    L = []
    for _ in xrange(num):
        L.append([int(s) for s in stdin.readline().split()[2:]])

    d = [-1] * num
    d[0] = 0
    q = Quene(100)
    q.put(0)
    while not q.empty():
        u = q.get()
        for v in L[u]:
            if d[v-1] < 0:
                d[v-1] = d[u] + 1
                q.put(v-1)

    for i, v in enumerate(d):
        print(i+1, v)

main()

Fixed submission:
#!/usr/bin/env python
from __future__ import division, print_function
from sys import stdin
from Queue import Queue
 
 
def main():
    num = int(stdin.readline())
 
    L = []
    for _ in xrange(num):
        L.append([int(s) for s in stdin.readline().split()[2:]])
 
    d = [-1] * num
    d[0] = 0
    q = Queue(100)
    q.put(0)
    while not q.empty():
        u = q.get()
        for v in L[u]:
            if d[v-1] < 0:
                d[v-1] = d[u] + 1
                q.put(v-1)
 
    for i, v in enumerate(d):
        print(i+1, v)
 
 
main()

Buggy python submission (verdict: Runtime Error):
#!/usr/bin/env python
from __future__ import division, print_function
from sys import stdin
from Quene import Quene

def main()
    num = int(stdin.readline())

    L = []
    for _ in xrange(num):
        L.append([int(s) for s in stdin.readline().split()[2:]])

    d = [-1] * num
    d[0] = 0
    q = Quene(100)
    q.put(0)
    while not q.empty():
        u = q.get()
        for v in L[u]:
            if d[v-1] < 0:
                d[v-1] = d[u] + 1
                q.put(v-1)

    for i, v in enumerate(d):
        print(i+1, v)

main()

Fixed submission:
#!/usr/bin/env python
from __future__ import division, print_function
from sys import stdin
from Queue import Queue
 
 
def main():
    num = int(stdin.readline())
 
    L = []
    for _ in xrange(num):
        L.append([int(s) for s in stdin.readline().split()[2:]])
 
    d = [-1] * num
    d[0] = 0
    q = Queue(100)
    q.put(0)
    while not q.empty():
        u = q.get()
        for v in L[u]:
            if d[v-1] < 0:
                d[v-1] = d[u] + 1
                q.put(v-1)
 
    for i, v in enumerate(d):
        print(i+1, v)
 
 
main()
Buggy python submission (verdict: Runtime Error):
x = input():

print x^3:

Fixed submission:
x = input()

print x*x*x

Buggy python submission (verdict: Runtime Error):
x=input():
print x^3\n:
return 0:

Fixed submission:
x = input()

print x*x*x

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

print x^3

Fixed submission:
x = input()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fixed submission:
a, b = map(int, raw_input().split())
print a*b, 2*a+2*b
Buggy python submission (verdict: Runtime Error):
x = input()
a = x/3600
b = x%3600/60
c = x%3600%60/60
print a:b:c

Fixed submission:
x = input()
a = x/3600
b = x%3600/60
c = x - a*3600 - b*60
print '%d:%d:%d'%(a, b, c)

Buggy python submission (verdict: Runtime Error):
x = input()
a = x/3600
b = x%3600/60
c = x%3600%60/60
print a':'b':'c

Fixed submission:
x = input()
a = x/3600
b = x%3600/60
c = x - a*3600 - b*60
print '%d:%d:%d'%(a, b, c)
Buggy python submission (verdict: Runtime Error):
a = input()
b = input()
if a < b:
   print a '<' b
if a > b:
   print 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):
def comp(a, b):
  if a < b:
    print a '<' b
  if a > b:
    print 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):
a = input
b = input
if a < b:
   print a '<' b
if a > b:
   print 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):
a = input()
b = input()
if a < b:
   print(a '<' b)
if a > b:
   print(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):
a = input()
b = input()
if a < b:
   print(a '<' b)
if a > b:
   print(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):
a = input()
b = input()
if a < b:
    print a '<' b
elif a > b:
    print a '>' b
else:
    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):
W, H, x, y, r = map(int, raw_input().split())
if 2*r <= W and 2*r <= H:
    if W > 0 and H > 0 and r <= 100:
        if x, y >= -100 and x, y <= 100:
            if x >= r and x <= W-r and y >= r and y <= H-r:
                print 'Yes' 
print 'No'

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

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

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

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

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

Buggy python submission (verdict: Runtime Error):
W, H, x, y, r = map(int, input.split())
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, raw_input().split())
if x-r >= 0 and y-r >= 0 and x+r <= W and y+r <= H:
    print 'Yes'
else: print 'No'
Buggy python submission (verdict: Runtime Error):
while 1
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print min(x, y) max(x, y)

Fixed submission:
while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print min(x, y), 
    print max(x, y)

Buggy python submission (verdict: Runtime Error):
while 1
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print '%d %d' %(min(x, y), max(x, y))

Fixed submission:
while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print min(x, y), 
    print max(x, y)

Buggy python submission (verdict: Runtime Error):
while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print min(x, y) max(x, y))

Fixed submission:
while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print min(x, y), 
    print max(x, y)

Buggy python submission (verdict: Runtime Error):
while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print min(x, y) max(x, y)

Fixed submission:
while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print min(x, y), 
    print max(x, y)

Buggy python submission (verdict: Runtime Error):
while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print min(x, y), max(x, y))

Fixed submission:
while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print min(x, y), 
    print max(x, y)
Buggy python submission (verdict: Runtime Error):
count = 0
a, b, c = map(int, raw_input().split())
while 1:
    if c%a == 0:
    count += 1
    if a == b:
        break
    a += 1

Fixed submission:
count = 0
a, b, c = map(int, raw_input().split())
while 1:
    if c%a == 0:
        count += 1
    if a == b:
        break
    a += 1
print count

Buggy python submission (verdict: Runtime Error):
count = 0
a, b, c = map(int, raw_input().split())
while 1:
    if c%a == 0:
    count += 1
    if a == b:
        break
    a += 1
print count

Fixed submission:
count = 0
a, b, c = map(int, raw_input().split())
while 1:
    if c%a == 0:
        count += 1
    if a == b:
        break
    a += 1
print count

Buggy python submission (verdict: Runtime Error):
count = 0
a, b, c = map(int, raw_input().split())
while 1:
    if c%a == 0:
    count += 1
    elif a == b:
        break
    a += 1
print count

Fixed submission:
count = 0
a, b, c = map(int, raw_input().split())
while 1:
    if c%a == 0:
        count += 1
    if a == b:
        break
    a += 1
print count