#include <stdio.h> main() { long nc; nc = 0; while(getchar()!= '\n') ++nc; printf("%ld\n", nc); getch(); }