#include <stdio.h>
#include <string.h>
int main(void)
{
char str[100];
while (scanf("%s", &str) != EOF);
printf("%d", (strlen(str)));
return 0;
} 
#include <stdio.h>
#include <string.h>
int main(void)
{
char str[100];
while (scanf("%s", &str) != EOF);
printf("%d", (strlen(str)));
return 0;
}