During the National Day, students in the sixth grade of Renmin Primary School hung colored lanterns at the gate of the school. They hung a colored lantern every 1 meter (including both ends), and hung a total of 9 lanterns. How many meters wide is the gate of this school?
国庆节时，人民小学六年级的同学在校门口挂彩灯，每隔1米挂1个彩灯(包括两端)，共挂了9个，这所学校大门有多少米宽．
<gadget id="calculator">9 - 1</gadget>
<output>8</output>

<gadget id="calculator">1 * 8</gadget>
<output>8</output>

<result>8</result>