#include <cstdio>
using namespace std;
int main() {
char str1[300], str2[100];
while (scanf("%s%s", str1, str2) != EOF) {
int i = 0;
while (str1[i] != '\0') {
i++;
}
int j = 0;
do {
str1[i] = str2[j];
j++;
}
while (str1[i++] != '\0');
printf("%s\n", str1);
}
return 0;
}