Rosetta Problems

30を言ったら負け

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