結果 : how to find the inverse of a permutation