#include <iostream>
using namespace std;
int main() {
short n, count = 0, summ = 0, mat[100][100];
cin >> n;
for (int i = 0; i < n * n; i++)
cin >> mat[i / n][i % n];
for (int i = 0; i < n * n; i++) {
short elem = mat[i / n][i % n];
if (elem % 2 == 0 && elem < 0) {
count++;
summ += elem;
}
}
cout << count << ' ' << summ;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglzaG9ydCBuLCBjb3VudCA9IDAsIHN1bW0gPSAwLCBtYXRbMTAwXVsxMDBdOwoJY2luID4+IG47Cglmb3IgKGludCBpID0gMDsgaSA8IG4gKiBuOyBpKyspCgkJY2luID4+IG1hdFtpIC8gbl1baSAlIG5dOwoJZm9yIChpbnQgaSA9IDA7IGkgPCBuICogbjsgaSsrKSB7CgkJc2hvcnQgZWxlbSA9IG1hdFtpIC8gbl1baSAlIG5dOwoJCWlmIChlbGVtICUgMiA9PSAwICYmIGVsZW0gPCAwKSB7CgkJCWNvdW50Kys7CgkJCXN1bW0gKz0gZWxlbTsKCQl9Cgl9Cgljb3V0IDw8IGNvdW50IDw8ICcgJyA8PCBzdW1tOwoJcmV0dXJuIDA7Cn0=