#include <iostream>
using namespace std;

int main() {
    string str1, str2;
    while (cin >> str1 >> str2) { // 注意 while 处理多个 case
        string s;
        s = str1 + str2;
        cout << s << endl;
    }
}
// 64 位输出请用 printf("%lld")