Sum of all the elements of the matrix

Sum of all the elements of the matrix


Input:

1 2 3
4 5 6
7 8 9

Output:

The sum of all the elements of the matrix is: 45

Implementation: