pranay varma's submission of Ambiguous Permutations | CodeChef