Rosetta Problems

ストーブ (Stove)

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