#include<iostream> using namespace std; int main() { int n; cin>>n; int s=0; while(n!=0) { n/=10;s+=1; } printf("%d",s); }