Kyoya and Permutation

Problem Name:
Kyoya and Permutation
Site:CodeForces
Links:
Tags:
Problem setters: