#include<iostream>
using namespace std;
#include <algorithm>

int main() {
    string s;
    getline(cin, s);

    int n = s.size();
    //cout<<n<<endl;
    string s1, s2;
    int i = 0, j = 0, k = 0;

    while (s[i] != ' ') {
        s1.push_back(s[i]);
        cout<<s1[j];
        j++;
        i++;
        if(i==n)
        {
            return 0;
        }
    }
    while(s[i]==' ')
    {
        i++;
    }
    while (s[i] != ' ') {
        s2.push_back(s[i]);
        cout<<s2[k];
        k++;
        i++;
        if (i==n)
        {
            break;
        }
    }
    return 0;
}