Rosetta Problems

楽しい楽しい花の水やり (Watering Flower is So Fun)

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