Codeforces1095D. Circular Dance

NoSuchKey