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