#include<iostream> using namespace std; int main(){ int x,y=0; cin>>x; while(x!=0){ x=x/10; y=y+1; } cout<<y<<endl; return 0; }