#include <iostream>
using namespace std;

int main() {
   char a[100], b[100];
    while (cin >> a >> b) { 
        int i=0,j=0;
        while(a[i]!='\0')cout<<a[i++];
        while(b[j]!='\0')cout<<b[j++];
        cout<<endl;
       
    }
}