Weird Modulo Problem | CodeChef