Bear and Xor of Sums | CodeChef