#include<stdio.h>
int main() {
    char ch;
    scanf("%c",&ch);
    printf("%c",len(ch));
    return 0;
}