Shifting Sort

Problem Name:
Shifting Sort
Site:CodeForces
Links:
Tags:
Problem setters: