#include using namespace std; int main() { char c; int s = 0; while (cin >> c) s++; cout << s << endl; return 0; }