#include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; int l=s.size(); cout<<l; return 0; }