Rosetta Problems

Cabbage Master

https://atcoder.jp/contests/abc215/tasks/abc215_h