# Write a NumPy program to multiply an array of dimension (2,2,3) by an array with dimensions (2,2).  
 import numpy as np
nums1 = np.ones((2,2,3))
nums2 = 3*np.ones((2,2))
print("Original array:")
print(nums1)
new_array = nums1 * nums2[:,:,None]
print("\nNew array:")
print(new_array)
