package example

object Main {
  def main(args: Array[String]) {
    import scala.io.StdIn.readLine
    val inputs = readLine().split(' ')
    val S = inputs(0)
    val T = inputs(1)
    println(T + S)
  }
}
