fn main(){for io::stdin().each_byte()|c|{let s=str::from_byte(c as u8);print(fmt!("%s%s",s,s))}}