X and Two Groups | CodeChef