Sum by rows
Read a matrix of integers with n rows and m columns and print the sum of the elements of each row.
Input: the numbers n and m (1 ≤ n, m ≤ 100), then n lines with m numbers each.
Output: n lines – the sum of each row.
Example
Input
2 3
1 2 3
4 5 6Output
6
15