Infinite Inversions

Problem Name:
Infinite Inversions
Site:CodeForces
Links:
Tags:
Problem setters: