Tomaz Hocevar's submission of Prime Permutations | CodeChef