#include <iostream> #include <cstring> using namespace std; int main() { string s; getline(cin, s); printf("%d\n", s.size()); }