# Write a NumPy program to create a 12x12x4 array with random values and extract any array of shape(6,6,3) from the said array.  
 import numpy as np 
nums = np.random.random((8,8,3))
print("Original array:")
print(nums)
print("\nExtract array of shape (6,6,3) from the said array:")
new_nums = nums[:6, :6, :]
print(new_nums)
