object Main extends App {
  val o, e = io.StdIn.readLine
  val ans = {
    val sb = StringBuilder.newBuilder
    val ito = o.iterator
    val ite = e.iterator
    for(i <- 0 until e.length) {
      sb.append(ito.next).append(ite.next)
    }
    if(ito.hasNext) sb.append(ito.next)
    sb
  }
  println(ans)
}