New Year and Permutation

Problem Name:
New Year and Permutation
Site:CodeForces
Links:
Tags:
Problem setters: