# Write a Python program to Numpy matrix.sum() 
# import the important module in python
import numpy as np
             
# make matrix with numpy
gfg = np.matrix('[4, 1; 12, 3]')
             
# applying matrix.sum() method
geek = gfg.sum()
   
print(geek)