Rosetta Problems

解き方を忘れると詰む奴

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