The sum of elements of a two-dimensional array#9571

The sum of elements of a two-dimensional array

1 second
64 megabytes
Very easy

Given a two-dimensional array of size n \times m. Find the sum of its elements.

Input

The first line of the input contains two numbers and , the number of rows and the number of columns, respectively.

The following lines each contain numbers - the elements of the array.

Output

Output a single number, the sum of the elements of the array.

Examples

Example 1

Loading
Loading