int n,uc,spare=0,simpare=0,ppare=1,pimpare=1;
cin>>n;
while (n!=0){
uc=n%10;
if(uc%2==0){
spare+=1;
ppare=ppare*uc;
}
if(uc%2==1){
simpare+=1;
pimpare*=uc;
}
n/=10;
}
cout<<"suma nr pare"<<spare;
cout<<"produsul nr pare"<<ppare;
cout<<"suma nr impare"<<simpare;
cout<<"produsul nr impare"<<pimpare;