#include<bits/stdc++.h> using namespace std; int main(){ string n; cin>>n; int len=n.length(); cout<<len<<endl; return 0; }