Rosetta Problems

Farm Partitioning

https://atcoder.jp/contests/awc0068/tasks/awc0068_b