saegusa's submission of Nikitosh and xor | CodeChef