How to input a permutation?


In order to enter a permutation , first enter '[', then enter the values (1), (2), ... seperated by a comma, and finally enter ']'.
For instance the permutation given by (1)=2, (2)=1 and (3)=3 must be written as [2,1,3].