Descriptions:

Number Circle

CodeForces - 1189B