Almost Identity Permutations

Problem Name:
Almost Identity Permutations
Site:CodeForces
Links:
Tags:
Problem setters: