Ninad Sutrave's submission of Ambiguous Permutations | CodeChef