object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val O, E = sc.next()
  val acc = O.zip(E).map { case (l, r) => new String(Array(l, r)) }.mkString
  println(if (E.length < O.length) acc + O.last else acc)
}
