math's submission of Prime Permutations | CodeChef