Complete the Permutations

Problem Name:
Complete the Permutations
Site:CodeForces
Links:
Tags:
Problem setters: