Rosetta Problems

期末試験!

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