Rosetta Problems

Building Construction

https://atcoder.jp/contests/past202004-open/tasks/past202004_n