Yaroslav and Permutations

Problem Name:
Yaroslav and Permutations
Site:CodeForces
Links:
Tags:
Problem setters: