You are given a photo of the skyline of Târgu-Mureş taken during the night. Some rooms still have the light on. You know that all the buildings can be modeled by rectangles of surface area at most $A$. Find the minimum number of buildings that can lead to the picture.
Specifically, you are given an integer $A$, and $N$ points at integer coordinates $(x,y)$. You must find a minimum number of rectangles that have one side on the $x$-axis and area at most $A$, which cover all points. The rectangles may overlap.