When Fang Fang did her morning exercises, she was ranked fifth from the front, and she was also ranked fifth from the back. How many people were there in their line?
芳芳做早操时，从前面数她排第5，从后面数她也排第5，他们这一行共有多少人？
<gadget id="calculator">5 - 1</gadget>
<output>4</output>

<gadget id="calculator">5 + 4</gadget>
<output>9</output>

<result>9</result>