fun main(args : Array) { val ac = (readLine() ?: "").run { split(" ") }.map { it.toLong() } println(ac[0] xor ac[1]) }