1.
#include <iostream>
using namespace std;
int n,uc,p=1;
int main()
{cin>>n;
while(n!=0)
{uc=n%10;
if(uc%2==0) p*=uc;
n/=10;
}
cout<<p;
return 0;
}
2.
#include <iostream>
using namespace std;
int n,s=0,uc;
int main()
{cin>>n;
while(n!=0)
{uc=n%10;
if(uc%2==0) s+=uc;
n/=10;
}
cout<<s;
return 0;
}