Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
n,m,l = map(int,input().split())
YEAH = list(map)n,m,l = map(int,input().split())
YEAH = [list(map(int,input().split())) for i in range(n)]
FUCK = [list(map(int,input().split())) for i in range(m)]

for i in range(n):
    for j in range(l):
        GOMI = 0
        for k in range(m):
            GOMI += FUCK[k][j]*YEAH[i][k]
        print(GOMI,end=" ")
    print()
         



Fixed submission:
n,m,l = map(int,input().split())
YEAH = [list(map(int,input().split())) for i in range(n)]
FUCK = [list(map(int,input().split())) for i in range(m)]

for i in range(n):
    for j in range(l):
        GOMI = 0
        for k in range(m):
            GOMI += FUCK[k][j]*YEAH[i][k]
        if j!=l-1:
            print(GOMI,end=" ")
        else:
            print(GOMI,end="")
    print()

Buggy python submission (verdict: Runtime Error):
n,m,l = map(int,input().split())
YEAH = [list(map(int,input().split())) for i in range(n)]
FUCK = [list(map(int,input().split())) for i in range(m)]

for i in range(n):
    for j in range(l):
        GOMI = 0
        for k in range(m):
            GOMI += FUCK[k][j]*YEAH[i][k]
        if j!=l:
            print(GOMI,end=" ")
        else:
          
    print()



Fixed submission:
n,m,l = map(int,input().split())
YEAH = [list(map(int,input().split())) for i in range(n)]
FUCK = [list(map(int,input().split())) for i in range(m)]

for i in range(n):
    for j in range(l):
        GOMI = 0
        for k in range(m):
            GOMI += FUCK[k][j]*YEAH[i][k]
        if j!=l-1:
            print(GOMI,end=" ")
        else:
            print(GOMI,end="")
    print()
Buggy python submission (verdict: Runtime Error):
a = input()
print (a ** 3)

Fixed submission:
a = int(input())
print (a ** 3)
Buggy python submission (verdict: Runtime Error):
mport sys
a,b = map(int,sys.stdin.readline().split())

d = a % b
r = a - b * d
f = a / b

print(d,r,f)

Fixed submission:
import sys
a,b = map(int,sys.stdin.readline().split())

d = a // b
r = a % b
f = a / b

print("{0} {1} {2:0.7f}".format(d,r,f))
Buggy python submission (verdict: Runtime Error):
print(x^3)


Fixed submission:
n = int(input())
print(n**3)
Buggy python submission (verdict: Runtime Error):
area= a + b
perimeter = a*b
print(area, perimeter)


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

print(a*b,(a+b)*2)
Buggy python submission (verdict: Runtime Error):
number = int(input())
print(number//3600, (number%3600)//60,  (number%3600)%60).split(':')


Fixed submission:
sec = int(input())
print(sec//3600, ':', (sec%3600)//60, ':', sec%60, sep='')

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


Fixed submission:
sec = int(input())
print(sec//3600, ':', (sec%3600)//60, ':', sec%60, sep='')

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


Fixed submission:
sec = int(input())
print(sec//3600, ':', (sec%3600)//60, ':', sec%60, sep='')
Buggy python submission (verdict: Runtime Error):
a,b = map(int(input().split())
if a>b
   print(a+'<'+b)
if a<b
   print(a+'>'+b)
else
   print(a+'='+b)


Fixed submission:
a,b = map(int,input().split())
if a>b:
   c = '>'
elif a<b:
   c = '<'
else:
   c = '=='
print('a',c,'b')
Buggy python submission (verdict: Runtime Error):
a,b,x,y,r = map(int,input().split())
if (x+r)>w or (y+r)>h or (x-r)<0 or (y-r)<0:
    print('No')
else:
    print('Yes')



Fixed submission:
a,b,x,y,r = map(int,input().split())
if (x+r)>a or (y+r)>b or (x-r)<0 or (y-r)<0:
    print('No')
else:
    print('Yes')
Buggy python submission (verdict: Runtime Error):
while True:
    x,y = map(int(input().split())
    if (x,y) ==(0,0): break
    if x < y:
        print(x,y)
    else:
        print(y,x)


Fixed submission:
while True:
    a,b = map(int,input().split())
    if a == 0 and  b==0:
        break
    if a > b:
        print(b,a)
    else:
        print(a,b)
Buggy python submission (verdict: Runtime Error):
p = 0
a,b,c = map(int,input().split())
for (int x = a; x <= b; x++):
    if c%x=0:
        p += 1
print(p)


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):
p = 0
a,b,c = map(int,input().split())
for (int x = a; x <= b; x++):
    if c%x=0:
        p += 1
    else:
        p=p
print(p)


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):
p = 0
a,b,c = map(int,input().split())
for (int x = a; x <= b; x++):
    if c%x==0:
        p += 1
print(p)


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 = map(int,input().split())
print(a//b,a%b,"{:.5f}"(a/b))


Fixed submission:
a,b = map(int,input().split())
print(a//b,a%b,"{:.5f}".format(a/b))
Buggy python submission (verdict: Runtime Error):
r = int,input()
area = "{:.6f}".format(π*(r*r))
circumference = "{:.6f}".format(2*π*r)
print(area, circumference)


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

Buggy python submission (verdict: Runtime Error):
r = int(input())
area = "{:.6f}".format(π*(r*r))
circumference = "{:.6f}".format(2*π*r)
print(area, circumference)


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

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


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

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


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

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


Fixed submission:
import math
r = float(input())
print((r**2)*math.pi,r*2*math.pi)
Buggy python submission (verdict: Runtime Error):
while True:
    table= input().split()
    
    a = table[0]
    op = table[1]
    b = table[-1]
    
    if op = '?':
        break
        
    if op = '+':
        print(a+b)
    elif op ='-':
        print(a-b)
    elif op ='*':
        print(a*b)
    else:
        print(a//b)
    
    


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

Buggy python submission (verdict: Runtime Error):
while True:
    table= input().split()
    
    a = int(table[0])
    op = table[1]
    b = int(table[-1])
    
    if op = '?':
        break
        
    if op = '+':
        print(a+b)
    elif op ='-':
        print(a-b)
    elif op ='*':
        print(a*b)
    else:
        print(a//b)
    
    


Fixed submission:
while True:
    a,op,b = input().split()
    if op == '?':
        break
    a = int(a)
    b = int(b)
    
    if op == '+':
        print(a+b)
    elif op == '-':
        print(a-b)
    elif op == '*':
        print(a*b)
    else:
        print(a//b)
Buggy python submission (verdict: Runtime Error):
while True:
    H,W = map(int,input(),split())
    if (H,W) = (0,0):
        break
    for i in range(H):
        print('#'*W)
    print()


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

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


Fixed submission:
while True:
    H,W = map(int,input().split())
    if H == 0 and W==0:
        break
    for i in range(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)
    print()


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

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


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

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


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

Fixed submission:
num = raw_input()
print int(num)**3

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

Fixed submission:
num = raw_input()
print int(num)**3
Buggy python submission (verdict: Runtime Error):
import numpy as np
while 1:
    N = int(input())
    if N == 0:
        break
    xs = np.array(list(map(int, input().split())))
    
    print(np.sqrt(np.var(xs)))


Fixed submission:
import math
while 1:
    N = int(input())
    if N == 0:
        break
    xs = list(map(int, input().split()))
    avg = 0
    for x in xs:
        avg += x
    avg /= len(xs)
    var = 0
    for x in xs:
        var += (x - avg) ** 2
    var /= len(xs)
    print(math.sqrt(var))

Buggy python submission (verdict: Runtime Error):
import numpy as np
while 1:
    N = int(input())
    if N == 0:
        break
    xs = np.array(list(map(int, input().split())))
    
    print(np.sqrt(np.var(xs)))


Fixed submission:
import math
while 1:
    N = int(input())
    if N == 0:
        break
    xs = list(map(int, input().split()))
    avg = 0
    for x in xs:
        avg += x
    avg /= len(xs)
    var = 0
    for x in xs:
        var += (x - avg) ** 2
    var /= len(xs)
    print(math.sqrt(var))

Buggy python submission (verdict: Runtime Error):
import numpy as np
while 1:
    N = int(input())
    if N == 0:
        break
    xs = np.array(list(map(int, input().split())))
    
    print(np.sqrt(np.var(xs)))


Fixed submission:
import math
while 1:
    N = int(input())
    if N == 0:
        break
    xs = list(map(int, input().split()))
    avg = 0
    for x in xs:
        avg += x
    avg /= len(xs)
    var = 0
    for x in xs:
        var += (x - avg) ** 2
    var /= len(xs)
    print(math.sqrt(var))

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

while 1:
    N = int(input())
    if N == 0:
        break
    xs = np.array(list(map(int, input().split())))
    print(xs)
    print(np.sqrt(np.var(xs)))


Fixed submission:
import math
while 1:
    N = int(input())
    if N == 0:
        break
    xs = list(map(int, input().split()))
    avg = 0
    for x in xs:
        avg += x
    avg /= len(xs)
    var = 0
    for x in xs:
        var += (x - avg) ** 2
    var /= len(xs)
    print(math.sqrt(var))

Buggy python submission (verdict: Runtime Error):
while 1:
    N = int(input())
    if N == 0:
        break
   print(0)


Fixed submission:
import math
while 1:
    N = int(input())
    if N == 0:
        break
    xs = list(map(int, input().split()))
    avg = 0
    for x in xs:
        avg += x
    avg /= len(xs)
    var = 0
    for x in xs:
        var += (x - avg) ** 2
    var /= len(xs)
    print(math.sqrt(var))
Buggy python submission (verdict: Runtime Error):
inf = float('inf')

def distance(p,n,x,y):
    D = 0.0
    s = []
    for i in range(0,n):
        s.append(x[i]-y[i])
        if s[i]<0.0:
            s[i]*=-1.0
        D += s[i]**p 
        
    if p==inf:
        return max(s)
    else:
        return D**(1.0/p)

if __name__ == '__main__':
    n = int(input())
    x = []
    y = []

    for i in range(0,n):
        x.append(int(input()))
    for i in range(0,n):
        y.append(int(input()))
        
    print float(distance(1,n,x,y))
    print float(distance(2,n,x,y))
    print float(distance(3,n,x,y))
    print float(distance(inf,n,x,y))

Fixed submission:
inf = float('inf')

def distance(p,n,x,y):
    D = 0
    s = []
    for i in range(0,n):
        s.append(x[i]-y[i])
        if s[i]<0.0:
            s[i]*=-1.0
        D += s[i]**p 
        
    if p==inf:
        return max(s)
    else:
        return D**(1.0/p)

if __name__ == '__main__':
    n = int(input())
    x = map(int,raw_input().split())
    y = map(int,raw_input().split())
        
    print float(distance(1,n,x,y))
    print float(distance(2,n,x,y))
    print float(distance(3,n,x,y))
    print float(distance(inf,n,x,y))

Buggy python submission (verdict: Runtime Error):
# -*- coding: utf-8 -*-
"""
Created on Thu Dec 10 11:31:39 2015

@author: Ryuhei
"""

inf = float('inf')

def distance(p,n,x,y):
    D = 0
    s = []
    for i in range(0,n):
        s.append(x[i]-y[i])
        if s[i]<0.0:
            s[i]*=-1.0
        D += s[i]**p 
        
    if p==inf:
        return max(s)
    else:
        return D**(1.0/p)

if __name__ == '__main__':
    n = int(input())
    x = []
    y = []

    for i in range(0,n):
        x.append(int(input()))
    for i in range(0,n):
        y.append(int(input()))
        
    print float(distance(1,n,x,y))
    print float(distance(2,n,x,y))
    print float(distance(3,n,x,y))
    print float(distance(inf,n,x,y))

Fixed submission:
inf = float('inf')

def distance(p,n,x,y):
    D = 0
    s = []
    for i in range(0,n):
        s.append(x[i]-y[i])
        if s[i]<0.0:
            s[i]*=-1.0
        D += s[i]**p 
        
    if p==inf:
        return max(s)
    else:
        return D**(1.0/p)

if __name__ == '__main__':
    n = int(input())
    x = map(int,raw_input().split())
    y = map(int,raw_input().split())
        
    print float(distance(1,n,x,y))
    print float(distance(2,n,x,y))
    print float(distance(3,n,x,y))
    print float(distance(inf,n,x,y))
Buggy python submission (verdict: Runtime Error):
import re
import numpy

Fixed submission:
# 18-Character-Ring.py

# ????????°
# ???????????????????????°??¶???????????? s ???????????????????????????????¨????????????£?¶????????????????????????????????????§???
# ????????? p ??????????????????????????????????????°????????????????????????????????????

# Input
# ????????????????????? s ????????????????????????
# ????????????????????? p ????????????????????????

# Output
# p ??????????????´?????? Yes ??¨?????????????????´?????? No ??¨????????????????????????????????????

# Constraints
# 1???p????????????s????????????100
# ??????????????±?°???????????????????

# Sample Input 1
# vanceknowledgetoad
# advance
# Sample Output 1
# Yes

# Sample Input 2
# vanceknowledgetoad
# advanced
# Sample Output 2
# No

import re

pattern=[]

s=input()
p=input()

s= s+s

# for p2 in list(p):
# 	pattern.append(p2)
# 	pattern.append(".*")

# pattern = "".join(pattern)
# print(pattern)

matchOB = re.search(p, s)

if matchOB:
	print("Yes")
else:
	print("No")
Buggy python submission (verdict: Runtime Error):
# 19-String-Finding_a_Word.py

# ?????????????´¢
# ??????????????? W ??¨?????? T ????????????????????????T ??????????????? W ?????°???????????????????????°?????????????????????????????????
# ?????? T ????????????????????????????????????????????§????????????????????????????????? Ti ??¨????????????
# ???????????? Ti ?????????????????? W ??¨??????????????????????????°??????????????????
# ???????????§????????¨?°???????????????\???????????????

# Constraints
# W????????????????????????10????¶????????????????
# T??????????????????????????????????????????1000????¶????????????????

# Input
# ?????????????????? W ????????????????????????
# ?¶???????????????°????????????????????£??????????????????????????????
# END_OF_TEXT ??¨??????????????????????????????????????????????????????

# Output
# ?????? W ?????°???????????????????????????

# Sample Input
# computer
# Nurtures computer scientists and highly-skilled computer engineers
# who will create and exploit "knowledge" for the new era.
# Provides an outstanding computer environment.
# END_OF_TEXT

# Sample Output
# 3
# Note

import re

count=0

w = input().lower()

while 1:
	string = input().lower()
	if string=="END_OF_TEXT":
		break;

	string=string.split()
	for i in string:
		count += w==i

print(count)

Fixed submission:
# 19-String-Finding_a_Word.py

# ?????????????´¢
# ??????????????? W ??¨?????? T ????????????????????????T ??????????????? W ?????°???????????????????????°?????????????????????????????????
# ?????? T ????????????????????????????????????????????§????????????????????????????????? Ti ??¨????????????
# ???????????? Ti ?????????????????? W ??¨??????????????????????????°??????????????????
# ???????????§????????¨?°???????????????\???????????????

# Constraints
# W????????????????????????10????¶????????????????
# T??????????????????????????????????????????1000????¶????????????????

# Input
# ?????????????????? W ????????????????????????
# ?¶???????????????°????????????????????£??????????????????????????????
# END_OF_TEXT ??¨??????????????????????????????????????????????????????

# Output
# ?????? W ?????°???????????????????????????

# Sample Input
# computer
# Nurtures computer scientists and highly-skilled computer engineers
# who will create and exploit "knowledge" for the new era.
# Provides an outstanding computer environment.
# END_OF_TEXT

# Sample Output
# 3
# Note

import re

count=0

w = input().lower()

while 1:
	string = input()
	if string=="END_OF_TEXT":
		break;

	for i in string.lower().split():
		count += w==i

print(count)
Buggy python submission (verdict: Runtime Error):
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


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):

inputs = []

for i in range(10000) :
	inputraw = input()
	if inputraw == '0' :
		break
	inputs.append(inputraw)

for i, input in enumerate(inputs) :
	print("Case "+str(i)+": "+ str(input)+"\n"))

Fixed submission:

inputs = []

for i in range(10000) :
	inputraw = input()
	if inputraw == '0' :
		break
	inputs.append(inputraw)

for i, input in enumerate(inputs) :
	print("Case "+str(i+1)+": "+ str(input))
Buggy python submission (verdict: Runtime Error):
# coding: utf-8
'''
x ??? 3 ???
'''
aa = input()
print aa**3

Fixed submission:
# coding: utf-8
'''
x ??? 3 ???
'''
a = input()
print(int(a)**3)
Buggy python submission (verdict: Runtime Error):
S=int(raw_input())
print S/3600 + ":" + S/60%60 + ":" + S%60

Fixed submission:
S=int(raw_input())
print str(S/3600) + ":" + str(S/60%60) + ":" + str(S%60)
Buggy python submission (verdict: Runtime Error):
I = input().split()
if I[0] < I[1]:
    print("a < b")
if I[0] > I[1]:
    print("a > b")
if I[0] == I[1]:
    print("a == b")

Fixed submission:
I = input().split()
if int(I[0]) < int(I[1]):
    print("a < b")
if int(I[0]) > int(I[1]):
    print("a > b")
if int(I[0]) == int(I[1]):
    print("a == b")

Buggy python submission (verdict: Runtime Error):
I = int(input().split())
if I[0] < I[1]:
    print("a < b")
if I[0] > I[1]:
    print("a > b")
if I[0] == I[1]:
    print("a == b")

Fixed submission:
I = input().split()
if int(I[0]) < int(I[1]):
    print("a < b")
if int(I[0]) > int(I[1]):
    print("a > b")
if int(I[0]) == int(I[1]):
    print("a == b")
Buggy python submission (verdict: Runtime Error):
import math
pi = math.pi

r = int(input())
S = r ** 2 * pi
syu = 2 * pi * r

print(str("{0:.6f}".format(S)) + ' ' + str("{0:.6f}".format(syu)))

Fixed submission:
import math
pi = math.pi

r = float(input())
S = r ** 2 * pi
syu = 2 * pi * r

print(str("{0:.6f}".format(S)) + ' ' + str("{0:.6f}".format(syu)))

Buggy python submission (verdict: Runtime Error):
pi = 3.14
r = int(input())
S = r ** 2 * pi
syu = 2 * pi * r

print(str("{0:.6f}".format(S)) + ' ' + str("{0:.6f}".format(syu)))

Fixed submission:
import math
pi = math.pi

r = float(input())
S = r ** 2 * pi
syu = 2 * pi * r

print(str("{0:.6f}".format(S)) + ' ' + str("{0:.6f}".format(syu)))