#include <iostream>
#include <string>

using namespace std;

int main()
{
    string arr;
    getline(cin,arr);
    cout<<arr.length()<<endl;
    return 0;
}