#include <stdio.h>

int main ()
{
	char s [101];
	scanf (" %s", s);
	int len = 0;
	while (s[len]) len++;
	printf ("%d\n", len);
	return 0;
}
