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