#include<iostream>using namespace std;
int main(){ unsigned int x; cin>>x; int a,i=0,j=0,max=0; while(x>0) { a=x%10; if(a==0) j++; if(a>max) max=a; x=x/10; i++; } cout<<"0的个数为"<<j<<endl<<"数位最大值"<<max<<endl; return 0;}