Yet Another Permutation Constructive

Problem Name:
Yet Another Permutation Constructive
Site:CodeForces
Links:
Tags:
Problem setters: