Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
li= list(map(int, input().split())
while True:
	li.sort()
	if [x,y]==[0,0]
		break
	print(*li)


Fixed submission:
while True:
	x,y=sorted(map(int,input().split()))
	if x==0 and y==0:
		break
	print(x, y)

Buggy python submission (verdict: Runtime Error):
li= list(map(int, input().split())
while True:
	li.sort()
	if [x,y]=[0,0]
		break
	print(*li)


Fixed submission:
while True:
	x,y=sorted(map(int,input().split()))
	if x==0 and y==0:
		break
	print(x, y)

Buggy python submission (verdict: Runtime Error):
li= list(map(int, input().split())
while True:
	li.sort()
	if li==[0,0]
		break
	print(*li)


Fixed submission:
while True:
	x,y=sorted(map(int,input().split()))
	if x==0 and y==0:
		break
	print(x, y)

Buggy python submission (verdict: Runtime Error):
li= list(map(int, input().split()))
while True:
	li.sort()
	if li==[0,0]
		break
	print(*li)


Fixed submission:
while True:
	x,y=sorted(map(int,input().split()))
	if x==0 and y==0:
		break
	print(x, y)

Buggy python submission (verdict: Runtime Error):
while True:
	li= list(map(int, input().split())
	li.sort()
	if [x,y]==[0,0]
		break
	print(*li)


Fixed submission:
while True:
	x,y=sorted(map(int,input().split()))
	if x==0 and y==0:
		break
	print(x, y)

Buggy python submission (verdict: Runtime Error):
while True:
	li= list(map(int, input().split())
	li.sort()
	if li==[0,0]
		break
	print(*li)


Fixed submission:
while True:
	x,y=sorted(map(int,input().split()))
	if x==0 and y==0:
		break
	print(x, y)

Buggy python submission (verdict: Runtime Error):
while True:
	li= list(map(int, input().split())
	li.sort()
	if li =[0,0]
		break
	print(*li)


Fixed submission:
while True:
	x,y=sorted(map(int,input().split()))
	if x==0 and y==0:
		break
	print(x, y)

Buggy python submission (verdict: Runtime Error):
while True:
	li= list(map(int, input().split())
	li.sort()
	if li =[0,0]:
		break
	print(*li)


Fixed submission:
while True:
	x,y=sorted(map(int,input().split()))
	if x==0 and y==0:
		break
	print(x, y)

Buggy python submission (verdict: Runtime Error):
while True:
	li= list(map(int, input().split()))
	li.sort()
	if li =[0,0]:
		break
	print(*li)


Fixed submission:
while True:
	x,y=sorted(map(int,input().split()))
	if x==0 and y==0:
		break
	print(x, y)

Buggy python submission (verdict: Runtime Error):
while True:
	a=sorted(map(int,input().split()))
	if a==0:
		break
	print(*a)


Fixed submission:
while True:
	x,y=sorted(map(int,input().split()))
	if x==0 and y==0:
		break
	print(x, y)

Buggy python submission (verdict: Runtime Error):
while True:
	x,y=sorted(map(int,input().split()))
	if (x==0) and(y==0):
		break
	print(*a)


Fixed submission:
while True:
	x,y=sorted(map(int,input().split()))
	if x==0 and y==0:
		break
	print(x, y)
Buggy python submission (verdict: Runtime Error):
a,b,c=map(int,input().split())
n=0
for i in range(a:b+1)
	if c%i==0:
		n +=1
	else:
		n=n
print(n)


Fixed submission:
a,b,c=map(int,input().split())
n=0
while a<=b:
	if c%a==0:
		n+=1
		a+=1
	else:
		a+=1
print(n)

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


Fixed submission:
a,b,c=map(int,input().split())
n=0
while a<=b:
	if c%a==0:
		n+=1
		a+=1
	else:
		a+=1
print(n)
Buggy python submission (verdict: Runtime Error):
a,b= map(int, input().split())
print(int(a//b), int(a%b),float(a/b)


Fixed submission:
a,b=map(int,input().split())
print(a//b,a%b,'{0:10.5f}'.format(a/b))

Buggy python submission (verdict: Runtime Error):
a,b=map(int,input().split())
print(a//b,a%b,'{0:10.5f}'.format(a/b'))


Fixed submission:
a,b=map(int,input().split())
print(a//b,a%b,'{0:10.5f}'.format(a/b))
Buggy python submission (verdict: Runtime Error):
import math
r=int(input())
pritn(float(r*r*pi),float(2*r*pi))


Fixed submission:
from math import pi
r=float(input())
print("{0:.6f}".format(r*r*pi),"{0:.6f}".format(2*r*pi))

Buggy python submission (verdict: Runtime Error):
import math
r=float(input())
pritn(float(r*r*pi),float(2*r*pi))


Fixed submission:
from math import pi
r=float(input())
print("{0:.6f}".format(r*r*pi),"{0:.6f}".format(2*r*pi))

Buggy python submission (verdict: Runtime Error):
import math
r=float(input())
print(float(r*r*pi),float(2*r*pi))


Fixed submission:
from math import pi
r=float(input())
print("{0:.6f}".format(r*r*pi),"{0:.6f}".format(2*r*pi))

Buggy python submission (verdict: Runtime Error):
from math import pi
r=int(input())
print("{0:.6f}".format(r*r*pi),"{0:.6f}".format(2*r*pi))


Fixed submission:
from math import pi
r=float(input())
print("{0:.6f}".format(r*r*pi),"{0:.6f}".format(2*r*pi))
Buggy python submission (verdict: Runtime Error):
a,op,b=input().split()
if op=+:
	s=int(a)+int(b)
elif op=-:
	s=int(a)-int(b)
elif op=*:
	s=int(a)*int(b)
elif op=/:
	s=int(a)//int(b)
else:
	print(s)


Fixed submission:
while True:
	a,op,b=input().split()
	if op == "+":
		print(int(a)+int(b))
	elif op =="-":
		print(int(a)-int(b))
	elif op =="*":
		print(int(a)*int(b))
	elif op =="/":
		print(int(a)//int(b))
	else:
		break

Buggy python submission (verdict: Runtime Error):
while True:
	a,op,b=input().split()
	if op ="+":
		s=int(a)+int(b)
	elif op "-":
		s=int(a)-int(b)
	elif op ="*":
		s=int(a)*int(b)
	elif op ="/":
		s=int(a)//int(b)
	else:
		break
	print(s)


Fixed submission:
while True:
	a,op,b=input().split()
	if op == "+":
		print(int(a)+int(b))
	elif op =="-":
		print(int(a)-int(b))
	elif op =="*":
		print(int(a)*int(b))
	elif op =="/":
		print(int(a)//int(b))
	else:
		break

Buggy python submission (verdict: Runtime Error):
while 1:
	a,op,b=input().split()
	if op ="+":
		s=int(a)+int(b)
	elif op "-":
		s=int(a)-int(b)
	elif op ="*":
		s=int(a)*int(b)
	elif op ="/":
		s=int(a)//int(b)
	else:
		break
	print(s)


Fixed submission:
while True:
	a,op,b=input().split()
	if op == "+":
		print(int(a)+int(b))
	elif op =="-":
		print(int(a)-int(b))
	elif op =="*":
		print(int(a)*int(b))
	elif op =="/":
		print(int(a)//int(b))
	else:
		break

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


Fixed submission:
while True:
	a,op,b=input().split()
	if op == "+":
		print(int(a)+int(b))
	elif op =="-":
		print(int(a)-int(b))
	elif op =="*":
		print(int(a)*int(b))
	elif op =="/":
		print(int(a)//int(b))
	else:
		break

Buggy python submission (verdict: Runtime Error):
while True:
	a,op,b=map(str,input()split())
	if op == "+":
		s=int(a)+int(b)
	elif op =="-":
		s=int(a)-int(b)
	elif op =="*":
		s=int(a)*int(b)
	elif op =="/":
		s=int(a)//int(b)
	else:
		break
print(s)


Fixed submission:
while True:
	a,op,b=input().split()
	if op == "+":
		print(int(a)+int(b))
	elif op =="-":
		print(int(a)-int(b))
	elif op =="*":
		print(int(a)*int(b))
	elif op =="/":
		print(int(a)//int(b))
	else:
		break
Buggy python submission (verdict: Runtime Error):
input()
li=list(map(int,input().split()))
for i in li:
	sum+=li[i]
print(min(li),max(li),sum)


Fixed submission:
input()
li=list(map(int,input().split()))
sum=0
for i in li:
	sum+=i
print(min(li),max(li),sum)

Buggy python submission (verdict: Runtime Error):
input()
li=list(map(int,input().split()))
for i in li:
	sum+=li
print(min(li),max(li),sum)


Fixed submission:
input()
li=list(map(int,input().split()))
sum=0
for i in li:
	sum+=i
print(min(li),max(li),sum)

Buggy python submission (verdict: Runtime Error):
input()
li=list(map(int,input().split()))
for i in li:
	sum+=i
print(min(li),max(li),sum)


Fixed submission:
input()
li=list(map(int,input().split()))
sum=0
for i in li:
	sum+=i
print(min(li),max(li),sum)
Buggy python submission (verdict: Runtime Error):
while True:
  h,w=map(int,input().split())
  if h==0 & w==0:
    break
  for i in range(h):
    for i in range(w):
      if (i+j)%2==0:
        print("#")
      else:
        print(".")
  print()


Fixed submission:
while True:
  h,w=map(int,input().split())
  if h==0 & w==0:
    break
  for i in range(h):
    print(("#."* w)[i%2:][:w])
  print()

Buggy python submission (verdict: Runtime Error):
while True:
  h,w=map(int,input().split())
  if h==0 & w==0:
    break
  for i in range(h):
    for i in range(w):
      if (i+j)%2==0:
        print("#", end ="")
      else:
        print(".", end="")
  print()


Fixed submission:
while True:
  h,w=map(int,input().split())
  if h==0 & w==0:
    break
  for i in range(h):
    print(("#."* w)[i%2:][:w])
  print()

Buggy python submission (verdict: Runtime Error):
while True:
  h,w=map(int,input().split())
  if h==0 & w==0:
    break
  for i in range(h):
    for i in range(w):
      if (i+j)%2==0:
        print("#", end ="")
      else:
        print(".", end="")
    print("")
  print()


Fixed submission:
while True:
  h,w=map(int,input().split())
  if h==0 & w==0:
    break
  for i in range(h):
    print(("#."* w)[i%2:][:w])
  print()

Buggy python submission (verdict: Runtime Error):
while True:
  h,w=map(int,input().split())
  if h==0 & w==0:
    break
  for i in range(h):
    for i in range(w):
      if (i+j)%2==0:
        print("#", end ="")
      else:
        print(".", end="")
    print("")
  print("")


Fixed submission:
while True:
  h,w=map(int,input().split())
  if h==0 & w==0:
    break
  for i in range(h):
    print(("#."* w)[i%2:][:w])
  print()

Buggy python submission (verdict: Runtime Error):
while True:
  h,w=map(int,input().split())
  if h==0 & w==0:
    break
  for i in range(h):
    print("#."*w[i%2:][:w])
  print()   


Fixed submission:
while True:
  h,w=map(int,input().split())
  if h==0 & w==0:
    break
  for i in range(h):
    print(("#."* w)[i%2:][:w])
  print()
Buggy python submission (verdict: Runtime Error):
n=int(input())
c=1
print(" ",end=")
while c <=n:
  if c%3==0 or c%10==3:
    print(c)
  c +=1
print()


Fixed submission:
n=int(input())
d=[]
for i in range(1,n+1):
    if i%3==0 or "3" in str(i):
        d.append(i)
print(" ",end="")
print(*d)

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


Fixed submission:
n=int(input())
d=[]
for i in range(1,n+1):
    if i%3==0 or "3" in str(i):
        d.append(i)
print(" ",end="")
print(*d)

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


Fixed submission:
n=int(input())
d=[]
for i in range(1,n+1):
    if i%3==0 or "3" in str(i):
        d.append(i)
print(" ",end="")
print(*d)

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


Fixed submission:
n=int(input())
d=[]
for i in range(1,n+1):
    if i%3==0 or "3" in str(i):
        d.append(i)
print(" ",end="")
print(*d)

Buggy python submission (verdict: Runtime Error):
n=int(input())
d=[]
for i in range(1, n+1)
  if i%3==0 or i%10==3:
    d.append(i)
print(" ", end="")
print(*d)


Fixed submission:
n=int(input())
d=[]
for i in range(1,n+1):
    if i%3==0 or "3" in str(i):
        d.append(i)
print(" ",end="")
print(*d)

Buggy python submission (verdict: Runtime Error):
n=int(input())
d=[]
for i in range(1, n+1)
  if i%3==0 or "3" in str(i):
    d.append(i)
print(' ', end="")
print(*d)


Fixed submission:
n=int(input())
d=[]
for i in range(1,n+1):
    if i%3==0 or "3" in str(i):
        d.append(i)
print(" ",end="")
print(*d)

Buggy python submission (verdict: Runtime Error):
n=int(input())
d=[]
for i in range(3, n+1)
  if i%3==0 or "3" in str(i):
    d.append(i)
print(' ', end="")
print(*d)


Fixed submission:
n=int(input())
d=[]
for i in range(1,n+1):
    if i%3==0 or "3" in str(i):
        d.append(i)
print(" ",end="")
print(*d)
Buggy python submission (verdict: Runtime Error):
print(x*x*x)


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

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


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

Buggy python submission (verdict: Runtime Error):
if 1<=x<=100 :
    s=x*x*x
print(s)


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

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


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

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


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


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

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


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

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


Fixed submission:
a,b = map(int, input().split())
print(a*b,2*a+2*b)
Buggy python submission (verdict: Runtime Error):
s =int(input())
int h = s/3600
int m = (s/60)%60
int sec = s%60
print(h:m:sec)


Fixed submission:
x = int(input())
h =x/3600
m =(x/60)%60
sec = x%60
str = "%d:%d:%d"%(h,m,sec)
print(str)

Buggy python submission (verdict: Runtime Error):
s =int(input())
int h = s/3600
int m = (s/60)%60
int sec = s%60
print("h:m:sec")


Fixed submission:
x = int(input())
h =x/3600
m =(x/60)%60
sec = x%60
str = "%d:%d:%d"%(h,m,sec)
print(str)
Buggy python submission (verdict: Runtime Error):
a,b,c = 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):
a,b,c = map(int,input().split())
print(sorted[a,b,c])


Fixed submission:
x=list(map(int,input().split()))
x.sort()

print(x[0],x[1],x[2])

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

print(x[0]x[1]x[2])


Fixed submission:
x=list(map(int,input().split()))
x.sort()

print(x[0],x[1],x[2])

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

print(x[0])
print(x[1])
Print(x[2])


Fixed submission:
x=list(map(int,input().split()))
x.sort()

print(x[0],x[1],x[2])
Buggy python submission (verdict: Runtime Error):
x = list(map(int,input().split()))
n = 1
if x>0:
    print("case",n,":",x[n])
    n = n+1



Fixed submission:
n = 1
x = int(input())
while x != 0 :
    print("Case {}: {}".format(n,x))
    n = n+1
    x = int(input())

Buggy python submission (verdict: Runtime Error):
n = 1
x = int(input())
while x != 0 :
    print("Case {}:{}".format(n,x)
    n = n+1
    x = int(input())


Fixed submission:
n = 1
x = int(input())
while x != 0 :
    print("Case {}: {}".format(n,x))
    n = n+1
    x = int(input())

Buggy python submission (verdict: Runtime Error):
n = 1
x = int(input())
while x != 0 :
    print("Case {}:{}".format(n,x)
    n = n+1
    x = int(input())


Fixed submission:
n = 1
x = int(input())
while x != 0 :
    print("Case {}: {}".format(n,x))
    n = n+1
    x = int(input())

Buggy python submission (verdict: Runtime Error):
n = 1
x = int(input())
while x != 0 :
    print("Case  {} : {}".format(n,x)
    n = n+1
    x = int(input())


Fixed submission:
n = 1
x = int(input())
while x != 0 :
    print("Case {}: {}".format(n,x))
    n = n+1
    x = int(input())
Buggy python submission (verdict: Runtime Error):
x = list(map(int,input().split)
while x[1] != 0 and x[2] != 0:
    print(x[1] x[2])
    x = list(map(int, input().split)


Fixed submission:
while True :
    x, y = sorted(map(int, input().split()))
    if x == y and y == 0 : break
    print(x, y)

Buggy python submission (verdict: Runtime Error):
x = list(map(int,input().split()))
while x[1] != 0 and x[2] != 0:
    print(x[1] x[2])
    x = list(map(int, input().split)


Fixed submission:
while True :
    x, y = sorted(map(int, input().split()))
    if x == y and y == 0 : break
    print(x, y)

Buggy python submission (verdict: Runtime Error):
x = list(map(int,input().split()))

while x[1] != 0 and x[2] != 0:
    x.sort()
    print(x[1],x[2])
    x = list(map(int, input().split)


Fixed submission:
while True :
    x, y = sorted(map(int, input().split()))
    if x == y and y == 0 : break
    print(x, y)

Buggy python submission (verdict: Runtime Error):
x = list(map(int,input().split()))

while x[1] != 0 and x[2] != 0:
    x.sort()
    print(x[1],x[2])
    x = list(map(int, input().split()))


Fixed submission:
while True :
    x, y = sorted(map(int, input().split()))
    if x == y and y == 0 : break
    print(x, y)

Buggy python submission (verdict: Runtime Error):
x,y = map(int,input().split())
z =[x,y]
while z[1] != 0 or z[2] != 0:
    z.sort()
    print(z[1],z[2])
    x,y = map(int, input().split())
    z = [x, y]


Fixed submission:
while True :
    x, y = sorted(map(int, input().split()))
    if x == y and y == 0 : break
    print(x, y)

Buggy python submission (verdict: Runtime Error):
while x != 0 or y != 0:
    x, y = sorted(map(int, input().split()))
    print(x, y)
    x,y = map(int, input().split())


Fixed submission:
while True :
    x, y = sorted(map(int, input().split()))
    if x == y and y == 0 : break
    print(x, y)

Buggy python submission (verdict: Runtime Error):
while x != 0 or y != 0:
    x, y = sorted(map(int, input().split()))
    print(x, y)
    x,y = sorted(map(int, input().split()))


Fixed submission:
while True :
    x, y = sorted(map(int, input().split()))
    if x == y and y == 0 : break
    print(x, y)

Buggy python submission (verdict: Runtime Error):
while True:
    x, y = sorted(map(int, input().split()))
    if x==y==0:
    print(x, y)
    x,y = sorted(map(int, input().split()))


Fixed submission:
while True :
    x, y = sorted(map(int, input().split()))
    if x == y and y == 0 : break
    print(x, y)

Buggy python submission (verdict: Runtime Error):
while True:
    x, y = sorted(map(int, input().split()))
    if x==y and y==0:
    print(x, y)
    x,y = sorted(map(int, input().split()))


Fixed submission:
while True :
    x, y = sorted(map(int, input().split()))
    if x == y and y == 0 : break
    print(x, y)
Buggy python submission (verdict: Runtime Error):
a,b,c = input()
n = 0
for a in range(b):
    if c%a == 0 :
     n=n+1    
print(n)


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

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


Fixed submission:
a,b,c = map(int,input().split())
n = 0
for i in range(a,b+1):
    if c%i == 0 :
     n = n+1
print(n)
Buggy python submission (verdict: Runtime Error):
a,b = map(int,input().split())
int d = a/b
r = a%b
f = a/b

print(d,r,f)


Fixed submission:
a,b = map(int,input().split())
d = a//b
r = a%b
f = a/b

print('%s %s %.5f'%(d,r,f))
Buggy python submission (verdict: Runtime Error):
r = input()
s =2*math.pi*r
v =math.pi*r^2

print(s,v)


Fixed submission:
import math
r = float(input())
v = math.pi*r*r
s = math.pi*r*2

print('%.7f %.7f'%(v,s))

Buggy python submission (verdict: Runtime Error):
import math
r = input()
s =2*math.pi*r
v =math.pi*r^2

print(s,v)


Fixed submission:
import math
r = float(input())
v = math.pi*r*r
s = math.pi*r*2

print('%.7f %.7f'%(v,s))

Buggy python submission (verdict: Runtime Error):
import math
r = float(input())
v =2*math.pi*r
s =math.pi*r^2

print(v,s)


Fixed submission:
import math
r = float(input())
v = math.pi*r*r
s = math.pi*r*2

print('%.7f %.7f'%(v,s))

Buggy python submission (verdict: Runtime Error):
import math
r = float(input())
v = math.pi*r^2
s = math.pi*r*2

print('%.7f %.7f'%(v,s))


Fixed submission:
import math
r = float(input())
v = math.pi*r*r
s = math.pi*r*2

print('%.7f %.7f'%(v,s))
Buggy python submission (verdict: Runtime Error):
import numpy as np

x = map(int,input().split())
x.sort()
sum = np.sum(x)
print('%s %s %s'%(max(x),min(x),sum))


Fixed submission:
n = input()
x = list(map(int,input().split()))
x.sort()
print('%s %s %s'%(min(x),max(x),sum(x)))

Buggy python submission (verdict: Runtime Error):
import numpy as np

x = list(map(int,input().split()))
x.sort()
sum = np.sum(x)
print('%s %s %s'%(max(x),min(x),sum))


Fixed submission:
n = input()
x = list(map(int,input().split()))
x.sort()
print('%s %s %s'%(min(x),max(x),sum(x)))
Buggy python submission (verdict: Runtime Error):
H,W = map(int,input().split())


if H ==0 and W==0: break
else:
    print(("#"*W+"¥n")*H)


Fixed submission:
while True:
    H,W = map(int,input().split())
    if H ==0 and W==0: break
    for i in range(0,H) :
        print('#'*W)
    print()

Buggy python submission (verdict: Runtime Error):

H,W = map(int,input().split())
if H ==0 and W==0: break
else:
  print(("#"*W+"¥n")*H)


Fixed submission:
while True:
    H,W = map(int,input().split())
    if H ==0 and W==0: break
    for i in range(0,H) :
        print('#'*W)
    print()

Buggy python submission (verdict: Runtime Error):
While True:
    H,W = map(int,input().split())
    if H ==0 and W==0: break
    else:
        print(("#"*W+"¥n")*H)


Fixed submission:
while True:
    H,W = map(int,input().split())
    if H ==0 and W==0: break
    for i in range(0,H) :
        print('#'*W)
    print()

Buggy python submission (verdict: Runtime Error):
While True:
    H,W = map(int,input().split())
    if H ==0 and W==0: break
    print(("#"*W+"¥n")*H)


Fixed submission:
while True:
    H,W = map(int,input().split())
    if H ==0 and W==0: break
    for i in range(0,H) :
        print('#'*W)
    print()

Buggy python submission (verdict: Runtime Error):
while True:
    H,W = map(int,input().split())
    if H ==0 and W==0　: break
    else:
        print(("#"*W+"¥n")*H)


Fixed submission:
while True:
    H,W = map(int,input().split())
    if H ==0 and W==0: break
    for i in range(0,H) :
        print('#'*W)
    print()

Buggy python submission (verdict: Runtime Error):
while True:
    H,W = map(int,input().split())
    if H ==0 and W==0: break
    for i in range(H)
        print(('#'*W + '¥n'))


Fixed submission:
while True:
    H,W = map(int,input().split())
    if H ==0 and W==0: break
    for i in range(0,H) :
        print('#'*W)
    print()
Buggy python submission (verdict: Runtime Error):
while True:
    W = input()
    H = input()
    if H == 0 and W == 0: break

    for i in range(0,H) :
        for j in range(0,W):
            if(i+j)%2 == 0:
                print("#", end='')
            else:
                print(".", end='')
        print("")
     print("") 


Fixed submission:
while True:
    H, W = map(int, input().split())
    if H == 0 and W == 0: break

    for i in range(0,H) :
        for j in range(0,W):
            if(i+j)%2 == 0:
                print('#', end="")
            else:
                print('.', end="")
        print()
    print()
Buggy python submission (verdict: Runtime Error):
card ={'S': [0]*13,
       'H': [0]*13,
       'C': [0]*13,
       'D': [0]*13
}

n = int(input())

for i in range(1,n+1):
    m,num = input().split()
    num = int(num)
    card[m][num-1] =1

for c in ["S","H","C","D"]:
    for j in range(1,14):
        if (card[c][i]==0):
            print(m,str(j))


Fixed submission:
card ={'S': [0]*13,
       'H': [0]*13,
       'C': [0]*13,
       'D': [0]*13
}

n = int(input())

for i in range(1,n+1):
    m,num = input().split()
    num = int(num)
    card[m][num-1] =1

for c in ["S","H","C","D"]:
    for j in range(1,14):
        if (card[c][j-1]==0):
            print(c,str(j))
Buggy python submission (verdict: Runtime Error):
Residents = [[[0 for i in range(10)] for j in range(3)] for k in range(4)]
n = int(input())
for l in range(n):
    b ,f ,r ,v  = list(map(int,input().split())
    Residents[b-1][f-1][r-1] += v
for k in range(4):
    for j in range(3):
        print(' '+ ' '.join(map(str,Residents[k][j])))
    print('####################') 


Fixed submission:
Residents = [[[0 for i in range(10)] for j in range(3)] for k in range(4)]
n = int(input())
for l in range(n):
    b ,f ,r ,v  = list(map(int,input().split()))
    Residents[b-1][f-1][r-1] += v
for k in range(4):
    for j in range(3):
        print(' '+ ' '.join(map(str,Residents[k][j])))
    if (k ==3): break
    print('####################')