#include <iostream>
using namespace std;
int main() {
int n, count = 0, sum = 0, k;
cin >> n;
for (int i = 0; i < n * n; i++) {
cin >> k;
if (k < 0 && k % 2 == 0) {
sum += k;
count++;
}
}
cout << count << " " << sum;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgbiwgY291bnQgPSAwLCBzdW0gPSAwLCBrOwoJY2luID4+IG47CiAgICBmb3IgKGludCBpID0gMDsgaSA8IG4gKiBuOyBpKyspIHsKICAgIAljaW4gPj4gazsKCQlpZiAoayA8IDAgJiYgayAlIDIgPT0gMCkgewoJCSAgICBzdW0gKz0gazsKCQkJY291bnQrKzsKCQl9Cgl9Cgljb3V0IDw8IGNvdW50IDw8ICIgIiA8PCBzdW07CglyZXR1cm4gMDsKfQ==