Avish Kaushik's submission of Ambiguous Permutations | CodeChef