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