#include <iostream>
#include <cstring>
using namespace std;
char s[50];
int n;
int main() {
cin.getline(s, 1);
cout << strlen(s);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0cmluZz4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmNoYXIgc1s1MF07CmludCBuOwoKaW50IG1haW4oKSB7CiAgY2luLmdldGxpbmUocywgMSk7CiAgY291dCA8PCBzdHJsZW4ocyk7CiAgcmV0dXJuIDA7Cn0=