Rosetta Problems

Stacking Books

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/1411