#include using namespace std; int main(){ string S;cin>>S; if(S.at(0)=='1'){ int count=0; for(int i=1;i