Permutation Cycle

Problem Name:
Permutation Cycle
Site:CodeForces
Links:
Tags:
Problem setters: