Rosetta Problems

リングと紐

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/396