import Control.Applicative
import Control.Monad
import Data.List

main :: IO ()
main = do
    os <- getLine
    es <- getLine
    let ans = concat $ zipWith (\a b -> [a, b]) os es
    if length os == length es
        then putStrLn ans
        else putStrLn $ ans ++ [last os]