fun main() { val (a, c) = readLine()!!.split(" ").map(String::toLong) val b = a xor c println("${b}") }