#include<iostream>
#include<cstring>
using namespace std;
int main()
{
    string a,b,c;
    
    cin>>a;
    b=strlen(a);
    cout<<b;
}