#include <stdio.h>

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


	return 0;
}
