problema 1


#include <iostream>


using namespace std;

int main()
{ int a;
int S; S=0;
cin>> a;
while(a!=0)
{if(a%10%2==0)
S=S+1;
a=a/10;
}
cout << S;
return 0;