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