#include <stdio.h>

int main() 
{
    char a[20];
    scanf("%s",&a);
    int length= strlen(a);
    printf("%d",length);
    return 0;
}