Rosetta Problems

Strange Plants

https://onlinejudge.u-aizu.ac.jp/problems/3100