The necessary construction materials were delivered to the construction site. They are packed in boxes, but places for their installation are too limited. It was decided to install wooden blocks on top of each other, building a tall tower. Your task is to drop the boxes as precisely as possible so that the building does not collapse.