18*. Find all possible rectangles with integer sides, the perimeter of which is numerically equal to their area.
18. 3 and 6 or 4 and 4. Hint. Show that if a rectangle is divided into squares with a side length of 1, then there should be exactly 4 squares that do not share any points with the sides of the rectangle.