#include <stdio.h>

int main(void) {
	// your code goes here
long a,b,c;
int n=0;
scanf("%ld",&a);
do {a=a/10;
n++;
}while (a>0);
printf("%d",n);


	return 0;
}
