#include<stdio.h>
int main()
{
int i=0;
printf("input a string:\n");
while(getchar()!='\n')
i++;
}
printf("%d",i);
return 0;