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