Almost Permutation

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