#include using namespace std; typedef int64_t ll; typedef vector vll; int main() { ll n; cin>>n; vll x(n); for(auto &i:x){ cin>>i; } ll result=0; for(auto &i:x){ if(i%2==0){ result++; }else{ result--; } } cout<