#include <iostream>
using namespace std;

int main() {
    char a[201], b[101];
    while (cin >> a >> b) { // 注意 while 处理多个 case
        int i = 0, j = 0;
        while (a[i] != '\0') ++i;
        while (b[j] != '\0') a[i++] = b[j++];
        a[i] = '\0';
        cout << a << endl;
    }
}
// 64 位输出请用 printf("%lld")