func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int t;     t = 1;     while (t--) {       int n;       cin >> n;       int cnt1 = 0, cnt2 = 0, x;       for (int i = 0; i < n; i++) {         cin >> x;         if (x % 2 == 0)           cnt1++;         else           cnt2++;       }       if (cnt2 % 2 == 0) {         cout << cnt1 << endl;       } else         cout << cnt2 << endl;     }   }   