>>> np.dot(p, q)
32