#include<bits/stdc++.h> using namespace std; string a; int main() { getline(cin,a); cout<<a.size(); return 0; }