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