Elimination of a Ring

Problem Name:
Elimination of a Ring
Site:CodeForces
Links:
Tags:
Problem setters: