#include<iostream>
#include<string>
#include<cctype>
using namespace std;
bool isValid(const string& s){
    for(char c: s){
        if(!isspace(c))return false;
    }
    return true;
}
int main(){
    string merged ="";
    int n1 = word1.length();
    int n2 = word2.length();
    int maxLen =max(n1, n2);
    for(int i=0; i<maxLen; i++){
        if(i<n1)merged += word1[i];
        if(i<n2)merged += word2[i];
    }
    cout<<merged<<endl;
    return 0;
}