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