#include <iostream>
using namespace std;
int main() {
unsigned m, i, v[100], par=0;
//Citire date
cin >> m;
for (i = 0; i < m; i++)
cin >> v[i];
//Determinare nr elemente pare;
for (i = 0; i < m; i++)
if (v[i] % 2 == 0) par++;
//Afisare rezultat
cout << "\nPare : " << par;
cout << "\nImpare : " << m - par;
}