#include #include <string.h> using namespace std;

int main() {

char str[100] = { 0 };
cin.getline(str, sizeof(str));

// write your code here......
scanf("%s",str);
char * p=str;
int count=0;
while(*p != '\0')
{
    p++;
    count++;
}
printf("%d\n",count);
return 0;

}