Rosetta Problems

Free Contest 88 - BOXES

https://oj.vnoi.info/problem/fc088_boxes