fun main(args: Array) { val (a,b) = readLine()!!.split(" ").map { it.toLong() } val ans = (a or b) + (a and b) println(ans) }