sugreev prasad's submission of Ambiguous Permutations | CodeChef