Magic Permutations Submissions | CodeChef