#include <stdio.h>
 #include<string.h>
int main() {

    char str[100] = { 0 };
    gets(str);

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