#include <stdio.h>

/* count characters in input; 2nd version */

main()
{
	double nc;	/* double-precision float */

	for (nc = 0; getchar() != EOF; ++nc)
	   ;					/* null statement */

	printf("%.0f\n", nc);
}




