#include<iostream> using namespace std; int main() { int i,b=1; cin>>i; while(true) { i=i/10; if(i!=0) { b++; }else{ break; } } cout<<b; return 0; }