The Forbidden Permutation

Problem Name:
The Forbidden Permutation
Site:CodeForces
Links:
Tags:
Problem setters: