Sum of matrices
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Given two matrices and . Find their sum .
Input
The first line contains the size of matrices and . Each of the next lines contains integers and describe matrix . Then empty line is given, after which the description of matrix is given in the same format.
Output
Print the matrix : rows, each with integers.
Examples
Input #1
Answer #1
Submissions 8K
Acceptance rate 62%