Pretty Permutations

Problem Name:
Pretty Permutations
Site:CodeForces
Links:
Tags:
Problem setters: