Small Permutation Problem (Easy Version)

Problem Name:
Small Permutation Problem (Easy Version)
Site:CodeForces
Links:
Tags:
Problem setters: