Gapplet

Given an even permutation, write it as a product of 3-cycles.

Input an even permutation g 
e.g., (1,2,3,4,5)(6,7,8,9,10) or [5,4,3,2,1]
</COMMENT>
 
Write it as a product of 3-cycles
</COMMENT>
 
</COMMENT>