chandan's submission of Permutation Cycles | CodeChef