import Foundation

func readInts() -> [Int] {
    return readLine()!.split(separator: " ").map { Int($0)! }
}

let strs = readLine()!.components(separatedBy: " ")
let ans:String=strs[1]+strs[0]
print(ans)