#include <stdio.h>
#include <string.h>


int main() {
    char s1[100],s2[100];
    while(scanf("%s%s",s1,s2)!=EOF){
        printf("%s%s\n",s1,s2);
        
    }
    return 0;
}