#include<bits/stdc++.h> using namespace std; int main(){ int a=1,s=0,f=1; cin>>s; while(s/10!=0){ s=s/10; f+=1; } cout<<f; return 0; }