Rosetta Problems

スプリットタイム

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