Subdivide the 8x10 grid below along the grid lines into nonoverlapping rectangles (some may be squares). Each rectangle must contain exactly one number; each number indicates how many small cells are contained within the rectangle.

4

7

12

4

6

8

7

8

15

9

From Mensa Puzzle Calendar 2018 by Fraser Simpson, Workman Publishing, New York. Puzzle for June 26.