// inputに入力データ全体が入る
function Main(input) {
	let line = input[0].split(' ')
    return swap(line[0],line[1])
}

function swap(a, b) {
  let swapped = ''
  swapped = b+a
  console.log(swapped)
}

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