The students stand in line and do exercises, counting from front to back, Xiao Ming is the 6th, and counting from back to front, Xiao Ming is the 18th. How many people are there in this team?
同学们站队做操，从前向后数，小明是第6个，从后向前数，小明是第18个．这一队共有多少人．
<gadget id="calculator">5 + 18</gadget>
<output>23</output>

<result>23</result>