Picture of some squares

Nine squares with side lengths 1, 4, 7, 8, 9, 10, 14, 15, and 18 cms can be fitted together – no gaps/ no overlaps, to form a rectangle.

What are the dimensions of the rectangle?