import java.util.Scanner

object Main extends App  {
  val sc = new Scanner(System.in)

  val o = sc.next
  val iE = sc.next

  val e = if(o.length != iE.length) iE :+ '@' else iE

  val res = (o zip iE).foldLeft(""){case(str,(oCh, eCh)) =>
      if(eCh == '@') str :+ oCh
      else str :+ oCh :+ eCh
  }

  println(res)
}
