'use strict'
const Main = (arg) => {
  let input = arg.trim().split('\n');
  let S = input[0].split(' ')[0];
  let T = input[0].split(' ')[1];
  console.log(T + S);

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