The 42 students in the class are lined up. Xiaohong is the 25th from the left, and Xiaogang is the 26th from the right. How many people are there between Xiaohong and Xiaogang?
全班42位同学排成一行，从左边数小红是第25名，从右边数小刚是第26名，小红与小刚之间有多少人．
<gadget id="calculator">26 - 42 - 2</gadget>
<output>-18</output>

<gadget id="calculator">25 + (-18)</gadget>
<output>7</output>

<result>7</result>