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


#def area##################################

def zero(n):
	c=list()
	for i in range(n):
		c+=[0]
	return c

###########################################

f_input=map( int,raw_input().split(" ")  )


vec=f_input[0]
col=f_input[1]


#zero teigi
null=list()
for i in range(vec):
	null.append(zero(col))
#print null
cvarea=np.matrix(null)


k=list()
for i in range(col):
	k+=[[0]]
k=np.matrix(k)
varea=k

#print "cvarea="
#print cvarea
#print "varea="
#print varea





#print "kokkara"

for i in range(vec):
	N=map(int,raw_input().split(" "))
	print N
	M=np.matrix(N)
	print M
	cvarea[i]+=N
#print "cvarea="
#print cvarea

for i in range(col):
	N=int(raw_input())
	varea[i]+=N
#print "varea="
#print varea

sol=cvarea*varea
print sol

Fixed submission:
A=map(int,raw_input().split(" "))
vec=A[0]
col=A[1]

def zero(n):
	zerolist=list()
	for i in range(n):
		zerolist+=[0]
	return(zerolist)
A=list()
for i in range(vec):
	A+=[zero(col)]



for i in range(vec):
	k=map(int,raw_input().split(" "))
	for j in range(col):
		A[i][j]=k[j]

#ok

v=zero(col)

for i in range(col):
	v[i]=int(raw_input())

k=0
for i in range(vec):
	for j in range(col):
		k+=A[i][j]*v[j]
	print k
	k=0

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


#def area##################################

def zero(n):
	c=list()
	for i in range(n):
		c+=[0]
	return c

###########################################

f_input=map( int,raw_input().split(" ")  )


vec=f_input[0]
col=f_input[1]


#zero teigi
null=list()
for i in range(vec):
	null.append(zero(col))
#print null
cvarea=np.matrix(null)


k=list()
for i in range(col):
	k+=[[0]]
k=np.matrix(k)
varea=k

#print "cvarea="
#print cvarea
#print "varea="
#print varea





#print "kokkara"

for i in range(vec):
	N=map(int,raw_input().split(" "))
#	print N
	M=np.matrix(N)
#	print M
	cvarea[i]+=N
#print "cvarea="
#print cvarea

for i in range(col):
	N=int(raw_input())
	varea[i]+=N
#print "varea="
#print varea

sol=cvarea*varea
for i in range(col):
	print int(sol[i])

Fixed submission:
A=map(int,raw_input().split(" "))
vec=A[0]
col=A[1]

def zero(n):
	zerolist=list()
	for i in range(n):
		zerolist+=[0]
	return(zerolist)
A=list()
for i in range(vec):
	A+=[zero(col)]



for i in range(vec):
	k=map(int,raw_input().split(" "))
	for j in range(col):
		A[i][j]=k[j]

#ok

v=zero(col)

for i in range(col):
	v[i]=int(raw_input())

k=0
for i in range(vec):
	for j in range(col):
		k+=A[i][j]*v[j]
	print k
	k=0

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


#def area##################################

def zero(n):
	c=list()
	for i in range(n):
		c+=[0]
	return c

###########################################

f_input=map( int,raw_input().split(" ")  )


vec=f_input[0]
col=f_input[1]


#zero teigi
null=list()
for i in range(vec):
	null.append(zero(col))
#print null
cvarea=np.matrix(null)


k=list()
for i in range(col):
	k+=[[0]]
k=np.matrix(k)
varea=k

#print "cvarea="
#print cvarea
#print "varea="
#print varea





#print "kokkara"

for i in range(vec):
	N=map(int,raw_input().split(" "))
#	print N
	M=np.matrix(N)
#	print M
	cvarea[i]+=N
#print "cvarea="
#print cvarea

for i in range(col):
	N=int(raw_input())
	varea[i]+=N
#print "varea="
#print varea

sol=cvarea*varea
for i in range(vec):
	print int(sol[i])

Fixed submission:
A=map(int,raw_input().split(" "))
vec=A[0]
col=A[1]

def zero(n):
	zerolist=list()
	for i in range(n):
		zerolist+=[0]
	return(zerolist)
A=list()
for i in range(vec):
	A+=[zero(col)]



for i in range(vec):
	k=map(int,raw_input().split(" "))
	for j in range(col):
		A[i][j]=k[j]

#ok

v=zero(col)

for i in range(col):
	v[i]=int(raw_input())

k=0
for i in range(vec):
	for j in range(col):
		k+=A[i][j]*v[j]
	print k
	k=0

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


#def area##################################

def zero(n):
	c=list()
	for i in range(n):
		c+=[0]
	return c

###########################################

f_input=map( int,raw_input().split(" ")  )


vec=f_input[0]
col=f_input[1]


#zero teigi
null=list()
for i in range(vec):
	null.append(zero(col))
#print null
cvarea=np.matrix(null)


k=list()
for i in range(col):
	k+=[[0]]
k=np.matrix(k)
varea=k

#print "cvarea="
#print cvarea
#print "varea="
#print varea





#print "kokkara"

for i in range(vec):
	N=map(int,raw_input().split(" "))
#	print N
	M=np.matrix(N)
#	print M
	cvarea[i]+=N
#print "cvarea="
#print cvarea

for i in range(col):
	N=int(raw_input())
	varea[i]+=N
#print "varea="
#print varea

sol=cvarea*varea
for i in range(vec):
	print int(sol[i])

Fixed submission:
A=map(int,raw_input().split(" "))
vec=A[0]
col=A[1]

def zero(n):
	zerolist=list()
	for i in range(n):
		zerolist+=[0]
	return(zerolist)
A=list()
for i in range(vec):
	A+=[zero(col)]



for i in range(vec):
	k=map(int,raw_input().split(" "))
	for j in range(col):
		A[i][j]=k[j]

#ok

v=zero(col)

for i in range(col):
	v[i]=int(raw_input())

k=0
for i in range(vec):
	for j in range(col):
		k+=A[i][j]*v[j]
	print k
	k=0

Buggy python submission (verdict: Runtime Error):
import numpy as np
def zero(n):
	c=list()
	for i in range(n):
		c+=[0]
	return c
f_input=map( int,raw_input().split(" ")  )
vec=f_input[0]
col=f_input[1]
null=list()
for i in range(vec):
	null.append(zero(col))

cvarea=np.matrix(null)


k=list()
for i in range(col):
	k+=[[0]]
k=np.matrix(k)
varea=k







for i in range(vec):
	N=map(int,raw_input().split(" "))
	M=np.matrix(N)
	cvarea[i]+=N

for i in range(col):
	N=int(raw_input())
	varea[i]+=N

sol=cvarea*varea
for i in range(vec):
	print int(sol[i])

Fixed submission:
A=map(int,raw_input().split(" "))
vec=A[0]
col=A[1]

def zero(n):
	zerolist=list()
	for i in range(n):
		zerolist+=[0]
	return(zerolist)
A=list()
for i in range(vec):
	A+=[zero(col)]



for i in range(vec):
	k=map(int,raw_input().split(" "))
	for j in range(col):
		A[i][j]=k[j]

#ok

v=zero(col)

for i in range(col):
	v[i]=int(raw_input())

k=0
for i in range(vec):
	for j in range(col):
		k+=A[i][j]*v[j]
	print k
	k=0

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


#def area##################################

def zero(n):
	c=list()
	for i in range(n):
		c+=[0]
	return c

###########################################

f_input=map( int,raw_input().split(" ")  )


vec=f_input[0]
col=f_input[1]


#zero teigi
null=list()
for i in range(vec):
	null.append(zero(col))
#print null
cvarea=np.matrix(null)


k=list()
for i in range(col):
	k+=[[0]]
k=np.matrix(k)
varea=k

#print "cvarea="
#print cvarea
#print "varea="
#print varea





#print "kokkara"

for i in range(vec):
	N=map(int,raw_input().split(" "))
#	print N
	M=np.matrix(N)
#	print M
	cvarea[i]+=N
#print "cvarea="
#print cvarea

for i in range(col):
	N=int(raw_input())
	varea[i]+=N
#print "varea="
#print varea

sol=cvarea*varea
for i in range(vec):
	print int(sol[i])

Fixed submission:
A=map(int,raw_input().split(" "))
vec=A[0]
col=A[1]

def zero(n):
	zerolist=list()
	for i in range(n):
		zerolist+=[0]
	return(zerolist)
A=list()
for i in range(vec):
	A+=[zero(col)]



for i in range(vec):
	k=map(int,raw_input().split(" "))
	for j in range(col):
		A[i][j]=k[j]

#ok

v=zero(col)

for i in range(col):
	v[i]=int(raw_input())

k=0
for i in range(vec):
	for j in range(col):
		k+=A[i][j]*v[j]
	print k
	k=0

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


#def area##################################

def zero(n):
	c=list()
	for i in range(n):
		c+=[0]
	return c

###########################################

f_input=map( int,raw_input().split(" ")  )


vec=f_input[0]
col=f_input[1]


#zero teigi
null=list()
for i in range(vec):
	null.append(zero(col))
#print null
cvarea=np.matrix(null)


k=list()
for i in range(col):
	k+=[[0]]
k=np.matrix(k)
varea=k

#print "cvarea="
#print cvarea
#print "varea="
#print varea





#print "kokkara"

for i in range(vec):
	N=map(int,raw_input().split(" "))
#	print N
	M=np.matrix(N)
#	print M
	cvarea[i]+=N
#print "cvarea="
#print cvarea

for i in range(col):
	N=int(raw_input())
	varea[i]+=N
#print "varea="
#print varea

sol=cvarea*varea
for i in range(vec):
	print int(sol[i])

Fixed submission:
A=map(int,raw_input().split(" "))
vec=A[0]
col=A[1]

def zero(n):
	zerolist=list()
	for i in range(n):
		zerolist+=[0]
	return(zerolist)
A=list()
for i in range(vec):
	A+=[zero(col)]



for i in range(vec):
	k=map(int,raw_input().split(" "))
	for j in range(col):
		A[i][j]=k[j]

#ok

v=zero(col)

for i in range(col):
	v[i]=int(raw_input())

k=0
for i in range(vec):
	for j in range(col):
		k+=A[i][j]*v[j]
	print k
	k=0