#include <iostream>
#include <string>

using namespace std;

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    string s1, s2;
    while(cin >> s1 >> s2)
    {
        int l = s1.length();
        string s3;
        for(int i = 0; i < l; i++)
        {
            s3.push_back(s1[i]);
            s3.push_back(s2[l - 1 - i]);
        }
        cout << s3 << "\n";
    }
    return 0;
}