Buggy python submission (verdict: Runtime Error):
# -*- coding: utf-8 -*-
import numpy as np

n = list(map(int, input().split()))
a = np.array(n[0] * n[1])

for i in range(n[0]):
    a_line = list(map(int, input().split()))
    np.append(a, a_line)
a.reshape(n[0], n[1])

b = np.array(n[1])
for i in range(n[1]):
    b_column = list(map(int, input().split()))
    np.append(b_column)
b.reshape(n[0], 1)

ab_sum = np.dot(a, b)

for i in range(n[1]):
    print('{0}'.format(ab_sum[i]))


Fixed submission:
n = list(map(int, input().split()))
a = []
b = []

for i in range(n[0]):
    a.append(list(map(int, input().split())))

for i in range(n[1]):
    b.append(int(input()))

for i in range(n[0]):
    ab_sum = 0
    for j in range(n[1]):
        ab_sum += a[i][j] * b[j]
    print(ab_sum)

Buggy python submission (verdict: Runtime Error):
# -*- coding: utf-8 -*-

import numpy as np

n = list(map(int, input().split()))

a = np.array(list(map(int, input().split())))
for i in range(n[0] - 1):
    a = np.vstack((a, list(map(int, input().split()))))

b = np.array(list(map(int, input().split())))
for i in range(n[1] - 1):
    b = np.vstack((b, list(map(int, input().split()))))

ab_sum = np.dot(a, b)
for i in range(n[0]):
    print(ab_sum[i])



Fixed submission:
n = list(map(int, input().split()))
a = []
b = []

for i in range(n[0]):
    a.append(list(map(int, input().split())))

for i in range(n[1]):
    b.append(int(input()))

for i in range(n[0]):
    ab_sum = 0
    for j in range(n[1]):
        ab_sum += a[i][j] * b[j]
    print(ab_sum)

Buggy python submission (verdict: Runtime Error):
# -*- coding: utf-8 -*-

import numpy as np

n = list(map(int, input().split()))

a = np.array(list(map(int, input().split())))
for i in range(n[0] - 1):
    a = np.vstack((a, list(map(int, input().split()))))

b = np.array(list(map(int, input().split())))
for i in range(n[1] - 1):
    b = np.vstack((b, list(map(int, input().split()))))

ab_sum = np.dot(a, b)
for i in range(n[0]):
    print('{0}'.format(int(ab_sum[i])))



Fixed submission:
n = list(map(int, input().split()))
a = []
b = []

for i in range(n[0]):
    a.append(list(map(int, input().split())))

for i in range(n[1]):
    b.append(int(input()))

for i in range(n[0]):
    ab_sum = 0
    for j in range(n[1]):
        ab_sum += a[i][j] * b[j]
    print(ab_sum)

Buggy python submission (verdict: Runtime Error):
# -*- coding: utf-8 -*-

import numpy as np

n = list(map(int, input().split()))

a = np.array(list(map(int, input().split())))
for i in range(n[0] - 1):
    a = np.vstack((a, list(map(int, input().split()))))

b = np.array(list(map(int, input().split())))
for i in range(n[1] - 1):
    b = np.vstack((b, list(map(int, input().split()))))

ab_sum = np.dot(a, b)
for i in range(n[0]):
    print('{0}'.format(int(ab_sum[i])))



Fixed submission:
n = list(map(int, input().split()))
a = []
b = []

for i in range(n[0]):
    a.append(list(map(int, input().split())))

for i in range(n[1]):
    b.append(int(input()))

for i in range(n[0]):
    ab_sum = 0
    for j in range(n[1]):
        ab_sum += a[i][j] * b[j]
    print(ab_sum)

Buggy python submission (verdict: Runtime Error):
# -*- coding: utf-8 -*-

import numpy as np

n = list(map(int, input().split()))

a = np.array(list(map(int, input().split())))
for i in range(n[0] - 1):
    a = np.vstack((a, list(map(int, input().split()))))

b = np.array(list(map(int, input().split())))
for i in range(n[1] - 1):
    b = np.vstack((b, list(map(int, input().split()))))

ab_sum = np.dot(a, b)
for i in range(n[0]):
    print('{0}'.format(int(ab_sum[i])))



Fixed submission:
n = list(map(int, input().split()))
a = []
b = []

for i in range(n[0]):
    a.append(list(map(int, input().split())))

for i in range(n[1]):
    b.append(int(input()))

for i in range(n[0]):
    ab_sum = 0
    for j in range(n[1]):
        ab_sum += a[i][j] * b[j]
    print(ab_sum)

Buggy python submission (verdict: Runtime Error):
# -*- coding: utf-8 -*-
import numpy as np

n = list(map(int, input().split()))

a = np.array(list(map(int, input().split())))
for i in range(n[0] - 1):
    a = np.vstack((a, list(map(int, input().split()))))

b = np.array(list(map(int, input().split())))
for i in range(n[1] - 1):
    b = np.vstack((b, list(map(int, input().split()))))

ab_sum = np.dot(a, b)
for i in range(n[0]):
    print('{0}'.format(int(ab_sum[i])))



Fixed submission:
n = list(map(int, input().split()))
a = []
b = []

for i in range(n[0]):
    a.append(list(map(int, input().split())))

for i in range(n[1]):
    b.append(int(input()))

for i in range(n[0]):
    ab_sum = 0
    for j in range(n[1]):
        ab_sum += a[i][j] * b[j]
    print(ab_sum)