#include <iostream>
using namespace std;

int main() {
	char text[100];
	cin >> noskipws >> text;
	cout << text;
	cin >> noskipws >> text;
	cout << text;
	return 0;
}