#include <stdio.h>

int main() {
    char a[100], b[100];
    char c[200];
    while (scanf("%s %s", a, b) != EOF) {
        int i, j = 0;
        for (i = 0;; i++) {
            if (a[i] != '\0') {
                c[j++] = a[i];
            } else {
                break;
            }
        }
        for (i = 0;; i++) {
            if (b[i] != '\0') {
                c[j++] = b[i];
            } else {
                break;
            }
        }
        c[j]='\0';
        printf("%s", c) ;
    }
    return 0;
}