string s,t;for(;!eof(stdin);){s=getc(stdin);t+=s+s;}write(t);