#include<iostream> using namespace std; int main(){ int a; int n=0; cin>>a; do{ n++; a=a/10; }while(a!=0); { cout<<n; return 0; } }