sherlock and xor is solved