Gapplet

Given a permutation in the form of a list, compute its disjoint cycle notation.


Input a permutation, 
e.g., [5,4,3,2,1]
</COMMENT>
 
 
The disjoint cycle notation  
</COMMENT>   </COMMENT>