Sum of positives in a matrix#8524

Sum of positives in a matrix

1 second
128 megabytes
Very easy

A matrix of size n \times n is given. Find the sum of all its positive elements.

Input

The first line contains a single integer n~(1 \le n \le 100). The next lines contain the elements of the n \times n matrix. Each element is an integer with an absolute value not exceeding .

Output

Print the sum of all positive elements in the matrix.

Examples

Example 1

Loading
Loading