Rosetta Problems

Overlapping sheets

https://atcoder.jp/contests/abc318/tasks/abc318_b