#include <stdio.h>
int main() {
char* p;
char ch[99];
int x=0;
p=ch;
gets(ch);
while(*p++!='\0')
{
x++;
}
printf("%d", x);
return 0;