func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long n, d = 0, e = 0, a[10000] = {0}, c = 0;     cin >> n;     for (long i = 0; i < n; i++) {       cin >> a[i];       c = c + a[i];     }     for (long j = 0; j < n; j++) {       d = c - a[j];       if ((d % 2) == 0) {         e = e + 1;       }     }     cout << e;     return 0;   }   