var s:string;i:word;begin repeat readln(s);for i:=1to length(s)do write(s[i]+s[i]);writeln(Chr(10))until 1<0;end.