function Main(input) {
    var args = input.trim().split('\n');
    var text = args[1].split(' ');
    var a = text[0].split('');
    var b = text[1].split('');
    console.log(a);
for(var i = 0;i <= Number(args[0]);i++) {
    console.log(a[i]);
    console.log(b[i]);
}
}

/* var input = `2
aa aa`;
Main(input);
 */  
  Main(require("fs").readFileSync("/dev/stdin", "utf8"));