permuorder takes as argument a permutation. permuorder returns the order k of the permutation p given as argument, that is the smallest integer m such that pm is the identity. Input :
Output
Input :