Rosetta Problems

家庭菜園2 (Garden2)

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