import java.util.*

fun main (args : Array<String>){
    val scanner = Scanner(System.`in`)
    val O = scanner.next()
    val E = scanner.next()
    var string = ""
    for(i in O.indices){
        string += O[i]
        string += E.getOrElse(i) { ' ' }
    }
     println(string)
}