# Write a NumPy program to find the index of the sliced elements as follows from a given 4x4 array.  
import numpy as np    
x = np.reshape(np.arange(16),(4,4))
print("Original arrays:")
print(x)
print("Sliced elements:")
result = x[[0,1,2],[0,1,3]]
print(result)
