A plane intersects a prism parallel to the base of the prism. The cross section is a polygon with 8 sides. How many sides does the base of the prism have?