#include <bits/stdc++.h> using namespace std; int main() { char a[1005]; gets(a); cout << strlen(a); return 0; }