#include <iostream>
#include <cstring>
using namespace std;
const int MAX_LENGTH = 100;
int main() {
char s1[MAX_LENGTH], s2[MAX_LENGTH], sHelp[MAX_LENGTH];
s1[0] = 0;
cin.getline(sHelp, MAX_LENGTH);
strcat(s1, sHelp);
//cout << s1 << endl;
s2[0] = 0;
cin.getline(sHelp, MAX_LENGTH);
strcat(s2, sHelp);
//cout << s2 << endl;
strcat(s1, s2);
cout << s1;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0cmluZz4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmNvbnN0IGludCBNQVhfTEVOR1RIID0gMTAwOwoKaW50IG1haW4oKSB7CiAgICBjaGFyIHMxW01BWF9MRU5HVEhdLCBzMltNQVhfTEVOR1RIXSwgc0hlbHBbTUFYX0xFTkdUSF07CiAgICBzMVswXSA9IDA7CiAgICBjaW4uZ2V0bGluZShzSGVscCwgTUFYX0xFTkdUSCk7CiAgICBzdHJjYXQoczEsIHNIZWxwKTsKICAgIC8vY291dCA8PCBzMSA8PCBlbmRsOwogICAgczJbMF0gPSAwOwogICAgY2luLmdldGxpbmUoc0hlbHAsIE1BWF9MRU5HVEgpOwogICAgc3RyY2F0KHMyLCBzSGVscCk7CiAgICAvL2NvdXQgPDwgczIgPDwgZW5kbDsKICAgIHN0cmNhdChzMSwgczIpOwogICAgY291dCA8PCBzMTsKICAgIHJldHVybiAwOwp9