Rosetta Problems

所属の判定(彼女は手動でやっている)

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