#include #define PB push_back #define MP make_pair #define REP(i,n) for (int i=0;i<(n);i++) #define FOR(i,a,b) for(int i=(a);i<(b);i++) #define ALL(a) (a).begin(),(a).end() using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair P; const int INF=1e9; int main(){ int n; cin>>n; int cnt[2],x[n]; memset(cnt,0,sizeof(cnt)); REP(i,n){ cin>>x[i]; cnt[x[i]%2]++; } cout<