open System
stdin.ReadLine ()
let rec mergelists s t =
    match s with
    | [] -> t
    | s0 :: s_ ->
        match t with
        | [] -> s
        | t0 :: t_ -> s0 :: t0 :: mergelists s_ t_
let [|s; t|] = (stdin.ReadLine ()).Split(' ')
mergelists (List.ofSeq s) (List.ofSeq t)
    |> List.toArray |> stdout.Write