#include <stdio.h>

int main(void)
{
    char buff[256];
    scanf("%s", buff);
    printf("%d", strlen(buff));
}