'use strict';
const fs = require("fs");

let input = fs.readFileSync("/dev/stdin", { encoding: "utf8" });
input = input.slice(0, input.length - 1);

const ret = input.split(" ");
console.log(ret[1] + ret[0]);
