Enter number of rows and columns :

2

2


Enter the elements of first matrix :

8 5

5 6

Enter elements of second matrix :

2 1

3 4

The subtraction of two matrix is :

6 4

2 2