resolve Permutation_Sequence