func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     vector<int> a(n);     int even = 0, odd = 0;     for (int i = 0; i < n; i++) {       cin >> a[i];       if (a[i] % 2 == 0) {         even++;       } else {         odd++;       }     }     if (even > odd) {       cout << odd << endl;     } else {       cout << even << endl;     }     return 0;   }   