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

int main(){
	char str1[220], str2[110];
	while(scanf("%s%s", str1, str2) != EOF){
		puts(strcat(str1, str2));
	}

	return 0;
}

/**************************************************************
	Problem: 2180
	User: admin
	Language: C++
	Result: Accepted
	Time:15 ms
	Memory:1144 kb
****************************************************************/