#include <stdio.h>
#include<string.h>
int main() {
    char a[20];
    scanf("%s",a);
    int length= strlen();
    printf("%d",length);
return 0;
}