#10Easy
Row sums
Time: 1 s · Memory: 256 MB
- Input and output
Statement
A table has rows with integers in each. Find the sum of the numbers in every row.
Input format
The first line contains two integers and ().
Each of the next lines contains integers ().
Output format
lines: the -th line contains the sum of the -th row of the table.
Examples
Input
2 3 1 2 3 4 5 6
Output
6 15
Note
In the example: and .
