e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Two dimensional arrays

Even negative numbers in matrix

Given matrix of size n * n. Find the number and the sum of its even negative elements.

Input

First line contains number n (1n100). Next lines contains the n * n matrix. All numbers in the matrix are no more than 100 by absolute value.

Output

Print in one line the number and the sum of even negative numbers in the matrix.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3
4 -2 5
1 -4 -12
0 1 -3
Output example #1
3 -18