Playing with Permutations

Problem Name:
Playing with Permutations
Site:CodeForces
Links:
Tags:
Problem setters: