#include <iostream>
using namespace std;
int main()
{
int n, num, i, cif, ntpare=0;
cout << "n= "; cin >> n;
cout << "introdu " << n << " numere naturale: " << endl;
for (i=1; i<=n; ++i)
{
cin >> num;
if (num==0) ++ntpare;
else
{
while (num>0)
{
cif=num%10;
if (cif%2==0) ++ntpare;
num=num/10;
}
}
}
cout << "Total cifre pare = " << ntpare;
return 0;
}