Permutation Counting

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