Rosetta Problems

Must Be Rectangular!

https://atcoder.jp/contests/abc131/tasks/abc131_f