for(string c;(c=getc(stdin))>"";write(c+c,none));