There are 10 chairs in a classroom, arranged in a row. Zhang Hong and Li Lin are going to sit together, and Zhang Hong sits on the left, and Li Lin sits on the right. How many different ways are there in the same row?
教室里有10张椅子，排成一排．张红和李林要坐在一起，并且张红坐在左边，李林坐在右边，在同一排中一共有多少种不同的坐法．
<gadget id="calculator">10 - 1</gadget>
<output>9</output>

<result>9</result>