Iaroslav Tverdokhlib's submission of Prime Permutations | CodeChef