#include<stdio.h> int main() { char str[100],*p; gets(str); p=str; while(*p!='\0') { printf("%c",*p); p++; } printf("\n%d\n",p-str); return 0; }