Rosetta Problems

Properly Choosing

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