function Main(input) {
	input = input.trim().split("\n").map(function(x) { return x.split(" ")});
	let S = input[0][0];
	let T = input[0][1];
	
	console.log(T + S);

}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
