import numpy as np

x = np.array([2, 8, -4])
y = np.array([1, -7, 3])

# Dot product
print(np.dot(x, y))

m1 = np.array([[5, 12, 6], [-3, 0, 14]])
m2 = np.array([[2, -1], [8, 0], [3, 0]])
print(np.dot(m1, m2))
