Malay Keshav's submission of Ambiguous Permutations | CodeChef