function Main (input) { var line = input.split(" ").map(Number); var A = +line[0]; var C = +line[1]; var B = ""; B = C ^ A; console.log(B); } Main(require("fs").readFileSync("/dev/stdin","utf8"));