A class teacher has a marks table: each row is a student and each column is a subject.
Print the total marks of every student.
Input Format
The first line has r (students) and c (subjects).
Each of the next r lines has c integers.
Output Format
Print r lines. Line i is the total of row i.
Constraints
• 1 ≤ r, c ≤ 100
• 0 ≤ marks ≤ 100
Examples
Example 1
Input
3 4
90 85 70 60
100 100 95 90
40 55 35 50
Output
305
385
180
Explanation Row totals: 305, 385 and 180.
Example 2
Input
1 3
50 60 70
Output
180
Explanation One student, three subjects.
Example 3
Input
2 1
99
0
Output
99
0
Explanation One subject, two students.
Acceptance
—
Accepted
0
Submissions
0