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