Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
[a,b] = map(int,input(),split())
if a < b:
    print(a < b)
elif a > b:
    print(a > b)
else:
    print(a == b)

Fixed submission:
[a, b] = [int(_) for _ in 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,input(),split())
if a < b:
    print(a < b)
else if a > b:
    print(a > b)
else:
    print(a == b)

Fixed submission:
[a, b] = [int(_) for _ in input().split()]

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

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

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

Fixed submission:
[a, b] = [int(_) for _ in 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] = [int(x) for x in input().split()]

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

Fixed submission:
[a, b] = [int(_) for _ in 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] = [int(x) for x in input().split()]

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

Fixed submission:
[a, b] = [int(_) for _ in 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] = [int(x) for x in input().split()]

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

Fixed submission:
[a, b] = [int(_) for _ in 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] = [int(_) for _ in 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("str(a) + '<' + str(b)")
elif a > b:
    print("str(a) + '>' + str(b)")
else:
    print("str(a) + '==' + str(b)")

Fixed submission:
[a, b] = [int(_) for _ in 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 = list(int(i) for i in input().split()) 
a.sort()
b = " ".join(a)

Fixed submission:
a = list(i for i in input().split()) 
a.sort()
b = " ".join(a)
print(b)
Buggy python submission (verdict: Runtime Error):
num = 1
for i in int(input()):
    if i == 0:
        break
    print(f"Case {num}: {i}")
    num +=1

Fixed submission:
num = 1
while True:
    x = int(input())
    if x == 0: break
    print ("Case {0}: {1}".format(num,x))
    num += 1

Buggy python submission (verdict: Runtime Error):
num = 1
for i in int(input()):
    if i == 0:
        break
    print("Case {0}: {1}".format(num,i))
    num +=1

Fixed submission:
num = 1
while True:
    x = int(input())
    if x == 0: break
    print ("Case {0}: {1}".format(num,x))
    num += 1
Buggy python submission (verdict: Runtime Error):
i = j = 0
n = ''
m = ''


line = input()

while line[i] != ' ':
    n = n + line[i]
    i += 1
    
while i < len(line):
    m = m + line[i]
    i += 1
    
n = int(n)
m = int(m)

print(n*m 2*n+2*m)

Fixed submission:
i = j = 0
n = ''
m = ''


line = input()

while line[i] != ' ':
    n = n + line[i]
    i += 1
    
while i < len(line):
    m = m + line[i]
    i += 1
    
n = int(n)
m = int(m)

print(n*m,end=' ')
print(2*n+2*m)
Buggy python submission (verdict: Runtime Error):
i = j = k = 0
n = ''
m = ''
l = ''

line = input()

while line[i] != ' ':
    n = n + line[i]
    i += 1
    
while line[i] != ' ':
    l = l + line[i]
    i += 1

while i < len(line):
    m = m + line[i]
    i += 1
    
n = int(n)
l = int(l)
m = int(m)

if n < l and l < m:
    print("Yes")
else:
    print("No")

Fixed submission:
i = j = k = 0
n = ''
m = ''
l = ''

line = input()

while line[i] != ' ':
    n = n + line[i]
    i += 1

i += 1
while line[i] != ' ':
    l = l + line[i]
    i += 1

while i < len(line):
    m = m + line[i]
    i += 1
    
n = int(n)
l = int(l)
m = int(m)

if n < l and l < m:
    print("Yes")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
i = j = k = 0
n = ''
m = ''
l = ''

line = input()

while line[i] != ' ':
    n = n + line[i]
    i += 1
    
i += 1
while line[i] != ' ':
    l = l + line[i]
    i += 1

while i < len(line):
    m = m + line[i]
    i += 1
    
n = int(n)
l = int(l)
m = int(m)

out = [n,m,l]
out = out.sort()

print(out[0],end=' ')
print(out[1],end=' ')
print(out[2])

Fixed submission:
i = j = k = 0
n = ''
m = ''
l = ''

line = input()

while line[i] != ' ':
    n = n + line[i]
    i += 1
    
i += 1
while line[i] != ' ':
    l = l + line[i]
    i += 1

while i < len(line):
    m = m + line[i]
    i += 1
    
n = int(n)
l = int(l)
m = int(m)

min = n
if min > l:
	min = l
if min > m:
	min = m

max = n
if max < l:
	max = l
if max < m:
	max = m

if min < n <max:
	cen = n
elif min < l < max:
	cen = l
else: 
	cen = m

print(min,end=' ')
print(cen,end=' ')
print(max)
Buggy python submission (verdict: Time Limit Exceeded):
case = []
i = j = 0

while True:
    num = int(input())
    if num == 0:
        break
    case.append(num)
    i += 1

while j < i:
    print("Case",end=' ')
    print(j+1,end=': ')
    print(case[j])

Fixed submission:
case = []
i = j = 0

while True:
    num = int(input())
    if num == 0:
        break
    case.append(num)
    i += 1

while j < i:
    print("Case",end=' ')
    print(j+1,end=': ')
    print(case[j])
    j += 1
Buggy python submission (verdict: Runtime Error):
i = j = x = y = 0

while i = 0:
  line = input()
  while line[j] != ' ':
    x += line[j]
    j += 1
  while j < len(line):
    y += line[j]
    j += 1

  x = int(x)
  y = int(y)

  if x == 0 and y == 0:
    break

  if x >= y:
    print(y,end=' ')
    print(x)

  else:
    print(x,end=' ')
    print(y) 

Fixed submission:
x = ''
y = ''
 
while True:
  line = input()
  line = line.split()
  x = int(line[0])
  y = int(line[1])
 
  if x == 0 and y == 0:
    break
 
  if x >= y:
    print(y,end=' ')
    print(x)
 
  else:
    print(x,end=' ')
    print(y)

Buggy python submission (verdict: Runtime Error):
i = j = x = y = 0

while i >= 0:
  line = input()
  while line[j] != ' ':
    x = x + line[j]
    j += 1
  while j < len(line):
    y = y + line[j]
    j += 1

  x = int(x)
  y = int(y)

  if x == 0 and y == 0:
    break

  if x >= y:
    print(y,end=' ')
    print(x)

  else:
    print(x,end=' ')
    print(y) 

Fixed submission:
x = ''
y = ''
 
while True:
  line = input()
  line = line.split()
  x = int(line[0])
  y = int(line[1])
 
  if x == 0 and y == 0:
    break
 
  if x >= y:
    print(y,end=' ')
    print(x)
 
  else:
    print(x,end=' ')
    print(y)
Buggy python submission (verdict: Runtime Error):
count = 0
a = b = c = ''


line = input()

while line[i] != ' ':
    a = a + line[i]
    i += 1

i += 1
while line[i] != ' ':
    b = b + line[i]
    i += 1

i += 1    
while i < len(line):
    c = c + line[i]
    i += 1
    
a = int(a)
b = int(b)
c = int(c)

while a <= b:
    if c%a == 0:
        count += 1
    a += 1

print(count)

Fixed submission:
i = count = 0
a = b = c = ''


line = input()

while line[i] != ' ':
    a = a + line[i]
    i += 1

i += 1
while line[i] != ' ':
    b = b + line[i]
    i += 1

i += 1    
while i < len(line):
    c = c + line[i]
    i += 1
    
a = int(a)
b = int(b)
c = int(c)

while a <= b:
    if c%a == 0:
        count += 1
    a += 1

print(count)
Buggy python submission (verdict: Runtime Error):
while True:
    flag = 0
    line = input().split()
    h = int(line[0])
    w = int(line[1])
	
    if h == 0 and w == 0:
        break
	
    for i in range(h):
        if i % 2 == 0:
            for j in range(w):
                if(j%2==0):
		    print("#",end='')
                else:
                    print(".",end='')
        else:
            for j in range(w):
                if(j%2==0):
                    print(".",end='')
                else:
                    print("#",end='')
        print()


Fixed submission:
while True:
	flag = 0
	line = input().split()
	h = int(line[0])
	w = int(line[1])
	
	if h == 0 and w == 0:
		break
	
	for i in range(h):
		if i % 2 == 0:
			for j in range(w):
				if(j%2==0):
					print("#",end='')
				else:
					print(".",end='')
		else:
			for j in range(w):
				if(j%2==0):
					print(".",end='')
				else:
					print("#",end='')
		print()
	print()

Buggy python submission (verdict: Runtime Error):
while True:
	flag = 0
	line = input().split()
	h = int(line[0])
	w = int(line[1])
	
	if h == 0 and w == 0:
		break
	
	for i in range(h):
		if i % 2 == 0:
			for j in range(w):
				if(j%2==0):
					print("#",end='')
				else:
					print(".",end='')
		else:
			for j in range(w):
				if(j%2==0):
					print(".",end='')
				else:
					print("#",end='')
		print()
                print()


Fixed submission:
while True:
	flag = 0
	line = input().split()
	h = int(line[0])
	w = int(line[1])
	
	if h == 0 and w == 0:
		break
	
	for i in range(h):
		if i % 2 == 0:
			for j in range(w):
				if(j%2==0):
					print("#",end='')
				else:
					print(".",end='')
		else:
			for j in range(w):
				if(j%2==0):
					print(".",end='')
				else:
					print("#",end='')
		print()
	print()
Buggy python submission (verdict: Runtime Error):
i = int(input())
j = 1

while j <= i:
  if j%3 == 0 or j%10 ==3 or'3' in str(j):
    print(' ',end='')
    print(j,end='')
  j += 1

print()

Fixed submission:
n = int(input())
i = 1

while i <= n:
	if i % 3 == 0 or "3" in str(i):
		print(" ",end='')
		print(i,end='')
	i += 1
print()
Buggy python submission (verdict: Runtime Error):
while True:
	numlist = list(int(i) for i in input().split())
	mid = numlist[0]
	final = numlist[1]
	retest = numlist[2]


	

	sum = mid + final

	if mid == -1 or final == -1:
		print("F")
	elif mid == -1 and final == -1 and retest == -1:
		break
	elif sum >= 80:
		print("A")
	elif 80 > sum >= 65:
		print("B")
	elif 65 > sum >= 50:
		print("C")
	elif 50 > sum >= 30 and retest < 50:
		print("D")
	elif 50 > sum >= 30 and retest >= 50:
		print("C")
	elif sum < 30:
		print("F")

Fixed submission:
while True:
	numlist = list(int(i) for i in input().split())
	mid = numlist[0]
	final = numlist[1]
	retest = numlist[2]

	sum = mid + final

	if mid == -1 and final == -1 and retest == -1:
		break

	if mid == -1 or final == -1:
		print("F")	
	elif sum >= 80:
		print("A")
	elif 80 > sum >= 65:
		print("B")
	elif 65 > sum >= 50:
		print("C")
	elif 50 > sum >= 30 and retest < 50:
		print("D")
	elif 50 > sum >= 30 and retest >= 50:
		print("C")
	elif sum < 30:
		print("F")

Buggy python submission (verdict: Runtime Error):
while True:
	numlist = list(int(i) for i in input().split())
	mid = numlist[0]
	final = numlist[1]
	retest = numlist[2]

	sum = mid + final

	if mid == -1 or final == -1:
		print("F")
	elif mid == -1 and final == -1 and retest == -1:
		break
	elif sum >= 80:
		print("A")
	elif 80 > sum >= 65:
		print("B")
	elif 65 > sum >= 50:
		print("C")
	elif 50 > sum >= 30 and retest < 50:
		print("D")
	elif 50 > sum >= 30 and retest >= 50:
		print("C")
	elif sum < 30:
		print("F")

Fixed submission:
while True:
	numlist = list(int(i) for i in input().split())
	mid = numlist[0]
	final = numlist[1]
	retest = numlist[2]

	sum = mid + final

	if mid == -1 and final == -1 and retest == -1:
		break

	if mid == -1 or final == -1:
		print("F")	
	elif sum >= 80:
		print("A")
	elif 80 > sum >= 65:
		print("B")
	elif 65 > sum >= 50:
		print("C")
	elif 50 > sum >= 30 and retest < 50:
		print("D")
	elif 50 > sum >= 30 and retest >= 50:
		print("C")
	elif sum < 30:
		print("F")
Buggy python submission (verdict: Runtime Error):
print(x ** 3)

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

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

Fixed submission:
x = int(input())
print(x ** 3)
Buggy python submission (verdict: Runtime Error):
S = int(input())
h = S // 3600
m = S % 3600
s = m % 60
print(h + ":" + m + ":" + s)

Fixed submission:
S = int(input())
h = int(S / 3600)
m = int(S / 60)
m = m % 60
s = S % 60
print("{0}:{1}:{2}".format(h,m,s))

Buggy python submission (verdict: Runtime Error):
S = int(input())
h = int(S / 3600)
m = int(S / 60)
m = m % 60
s = m % 60
print({0}:{1}:{2}.format(h,m,s)}

Fixed submission:
S = int(input())
h = int(S / 3600)
m = int(S / 60)
m = m % 60
s = S % 60
print("{0}:{1}:{2}".format(h,m,s))

Buggy python submission (verdict: Runtime Error):
S = int(input())
h = int(S / 3600)
m = int(S / 60)
m = m % 60
s = m % 60
print({0}:{1}:{2}.format(h,m,s))

Fixed submission:
S = int(input())
h = int(S / 3600)
m = int(S / 60)
m = m % 60
s = S % 60
print("{0}:{1}:{2}".format(h,m,s))

Buggy python submission (verdict: Runtime Error):
S = int(input())
h = int(S / 3600)
m = int(S / 60)
m = m % 60
s = S % 60
print({0}:{1}:{2}.format(h,m,s))

Fixed submission:
S = int(input())
h = int(S / 3600)
m = int(S / 60)
m = m % 60
s = S % 60
print("{0}:{1}:{2}".format(h,m,s))
Buggy python submission (verdict: Runtime Error):
list = [i for i in input().split()]
print(' '.join([int(i) for i in sorted(list)]))

Fixed submission:
L = [int(i) for i in input().split()]
print(' '.join([str(i) for i in sorted(L)]))

Buggy python submission (verdict: Runtime Error):
list = [int(i) for i in input().split()]
L = sort.list()
print(' '.join([str(i) for i in L]))

Fixed submission:
L = [int(i) for i in input().split()]
print(' '.join([str(i) for i in sorted(L)]))

Buggy python submission (verdict: Runtime Error):
list = [int(i) for i in input().split()]
L = list.sort()
print(' '.join([str(i) for i in L]))

Fixed submission:
L = [int(i) for i in input().split()]
print(' '.join([str(i) for i in sorted(L)]))

Buggy python submission (verdict: Runtime Error):
List = [int(i) for i in input().split()]
Sort = list.sort()
print(' '.join([str(i) for i in Sort]))

Fixed submission:
L = [int(i) for i in input().split()]
print(' '.join([str(i) for i in sorted(L)]))

Buggy python submission (verdict: Runtime Error):
List = [int(i) for i in input().split()]
print(' '.join([i for i in sorted(List)]))

Fixed submission:
L = [int(i) for i in input().split()]
print(' '.join([str(i) for i in sorted(L)]))
Buggy python submission (verdict: Runtime Error):
W,H,x,y,z = map(int, input().split())
if (x-r >= 0 and x + r <= W) and (y-r >= 0 and y + r <= H):
    print("Yes")
else:
    print("No")

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

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

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

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

Fixed submission:
W,H,x,y,r = map(int, input().split())
if (x-r >= 0 and x + r <= W) and (y - r >= 0 and y + r <= H):
                                                            print("Yes")
else:
                                                            print("No")
Buggy python submission (verdict: Runtime Error):
a,b,c = map(int,input())
count = 0
for i in range(a,b+1):
        if c % i == 0:
        count += 1
        print(count)

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

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

Fixed submission:
a,b,c = map(int,input().split())
count = 0
for i in range(a,b+1):
        if c % i == 0:
                count += 1
print(count)
Buggy python submission (verdict: Runtime Error):
str = input()
a = str[0]
b = str[2]
print(a*b, end='')
print((a+b)*2)

Fixed submission:
x=str(input())
n=x.split(" ", 2)
a=int(n[0])
b=int(n[1])
ab=a*b
a_b=(a+b)*2
print(ab, end=' ')
print(a_b)

Buggy python submission (verdict: Runtime Error):
x=str(input())
n='x'.split(" ", 2)
a=n[0]
b=n[1]
ab=a*b
a_b=(a+b)*2
print('ab',end=' ')
print('a_b')

Fixed submission:
x=str(input())
n=x.split(" ", 2)
a=int(n[0])
b=int(n[1])
ab=a*b
a_b=(a+b)*2
print(ab, end=' ')
print(a_b)

Buggy python submission (verdict: Runtime Error):
x=str(input())
n=x.split(" ", 2)
a=n[0]
b=n[1]
ab=a*b
a_b=(a+b)*2
print('ab', end=' ')
print('a_b')

Fixed submission:
x=str(input())
n=x.split(" ", 2)
a=int(n[0])
b=int(n[1])
ab=a*b
a_b=(a+b)*2
print(ab, end=' ')
print(a_b)
Buggy python submission (verdict: Runtime Error):
S=int(input())
h=int(S/3600)
S2=S-h
m=int(S2/60)
s=S2-m
print(h+':'+m+':'+s)

Fixed submission:
S=int(input())
h=int(S/3600)
m=int(S/60)%60
s=S%60
print('{}:{}:{}'.format(h,m,s))

Buggy python submission (verdict: Runtime Error):
S=int(input())
h=int(S/3600)
S2=S-h
m=int(S2/60)
s=S2-m
print(':'.join[h,m,s])

Fixed submission:
S=int(input())
h=int(S/3600)
m=int(S/60)%60
s=S%60
print('{}:{}:{}'.format(h,m,s))

Buggy python submission (verdict: Runtime Error):
S=int(input())
h=int(S/3600)
S2=S-h
m=int(S2/60)
s=S2-m
print('{}:{}:{}',format(h,m,s))

Fixed submission:
S=int(input())
h=int(S/3600)
m=int(S/60)%60
s=S%60
print('{}:{}:{}'.format(h,m,s))

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

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

Fixed submission:
x=input().split()
y=list(map(int,x))
a=y[0]
b=y[1]
if a < b:
 print('a < b')
elif a > b:
 print('a > b')
else:
 print('a == b')

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

Fixed submission:
x=input().split()
y=list(map(int,x))
a=y[0]
b=y[1]
if a < b:
 print('a < b')
elif a > b:
 print('a > b')
else:
 print('a == b')

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

Fixed submission:
x=input().split()
y=list(map(int,x))
a=y[0]
b=y[1]
if a < b:
 print('a < b')
elif a > b:
 print('a > b')
else:
 print('a == b')
Buggy python submission (verdict: Runtime Error):
x=input().split()
y=list(map(int,x))
(i) in sorted(y)
print(i)

Fixed submission:
x=input().split()
y=list(map(int,x))
z=sorted(y)
print("{0} {1} {2}".format(z[0],z[1],z[2]))
Buggy python submission (verdict: Runtime Error):
 a,b,c=map(int,input().split())                                     
 count=0
 for i in range(a,b):
     if c % i == 0:
         count+=1
 print(count)
 

Fixed submission:
a,b,c=map(int,input().split())                                     
count=0
for i in range(a,b+1):
    if c % i == 0:
        count+=1
print(count)
Buggy python submission (verdict: Runtime Error):
import math
r=int(input())
a=r*r*math.pi
b=2*r*math.pi
print('%.6f'%(a), end='')
print(' %.6f'%(b))

Fixed submission:
import math
r=float(input())
a=r*r*math.pi
b=2*r*math.pi
print(a,b)

Buggy python submission (verdict: Runtime Error):
import math
r=int(input())
a=r*r*math.pi
b=2*r*math.pi
print('%.6f'%(a), end='')
print(' %.6f'%(b))

Fixed submission:
import math
r=float(input())
a=r*r*math.pi
b=2*r*math.pi
print(a,b)

Buggy python submission (verdict: Runtime Error):
import math
r=int(input())
a=r*r*math.pi
b=2*r*math.pi
print(a, end='')
print(b)

Fixed submission:
import math
r=float(input())
a=r*r*math.pi
b=2*r*math.pi
print(a,b)

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

Fixed submission:
import math
r=float(input())
a=r*r*math.pi
b=2*r*math.pi
print(a,b)
Buggy python submission (verdict: Runtime Error):
while True:
  H,M=map(int,input().split())
  if H == 0 and M == 0:
    break
  else:
    for i in range(H):
  ???    print('#'*M)
  ???print('')

Fixed submission:
while True:
 H,M=map(int,input().split())
 if H == 0 and M == 0:
     break
 else:
     for i in range(H):
         print('#'*M)
     print('')
Buggy python submission (verdict: Runtime Error):
n=int(raw_input())
ans=''
for i in range(3,n+1):
    if i%3==0 or '3' in str(i):
        ans+=(' '+str(i))
print ans

Fixed submission:
n=int(input())
for i in range(1,n+1):
  if i % 3 == 0 or '3' in str(i):
    print(' {0}'.format(i), end='') 
print('')
Buggy python submission (verdict: Runtime Error):
print(x**3)

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

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

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

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

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

Fixed submission:
a,b=[int(i) for i in input().split()]
print(a*b,(a+b)*2)

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

Fixed submission:
a,b=[int(i) for i in input().split()]
print(a*b,(a+b)*2)

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

Fixed submission:
a,b=[int(i) for i in input().split()]
print(a*b,(a+b)*2)

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

Fixed submission:
a,b=[int(i) for i in input().split()]
print(a*b,(a+b)*2)

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

Fixed submission:
a,b=[int(i) for i in input().split()]
print(a*b,(a+b)*2)

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

Fixed submission:
a,b=[int(i) for i in input().split()]
print(a*b,(a+b)*2)

Buggy python submission (verdict: Runtime Error):
a = int(input())
b = int(input())
menseki = a*b
nagasa = (a+b)*2
print mensaki.nagasa.split()

Fixed submission:
a,b=[int(i) for i in input().split()]
print(a*b,(a+b)*2)

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

Fixed submission:
a,b=[int(i) for i in input().split()]
print(a*b,(a+b)*2)

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

Fixed submission:
a,b=[int(i) for i in input().split()]
print(a*b,(a+b)*2)

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

Fixed submission:
a,b=[int(i) for i in input().split()]
print(a*b,(a+b)*2)

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

Fixed submission:
a,b=[int(i) for i in input().split()]
print(a*b,(a+b)*2)

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

Fixed submission:
a,b=[int(i) for i in input().split()]
print(a*b,(a+b)*2)