#include<iostream>
#include<cstdio>
using namespace std;
int Length(string s)
{
int len=0;
for(int i=0;s[i]!='\0';i++)
{
len++;
}
return len;
}
int main()
{
string str;
cin>>str;
cout<<Length(str);
}
I2luY2x1ZGU8aW9zdHJlYW0+CiNpbmNsdWRlPGNzdGRpbz4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKaW50IExlbmd0aChzdHJpbmcgcykKewppbnQgbGVuPTA7CmZvcihpbnQgaT0wO3NbaV0hPSdcMCc7aSsrKQp7CmxlbisrOwp9CnJldHVybiBsZW47Cn0KaW50IG1haW4oKQp7CnN0cmluZyBzdHI7CmNpbj4+c3RyOwpjb3V0PDxMZW5ndGgoc3RyKTsKfQ==