In test cases worth 60% of total points, it will hold N ≤ 5000.
Clarification of the first test case: By increasing the height of the second, third, and fourth column,
we created a roof where the fourth column is the top of the roof.
Clarification of the second test case: By decreasing the height of the third column three times, and
increasing the height of the fourth column, we transformed the histogram into a roof. The example is
illustrated below.
