To buy the same pen, Xiaohong bought 5 pieces, Xiaoming bought 8 pieces, Xiaohong spent 24 yuan less than Xiaoming, how much is each pen?
买同样的钢笔，小红买5支，小明买8支，小红比小明少花了24元，每支钢笔多少元？
<gadget id="calculator">8 - 5</gadget>
<output>3</output>

<gadget id="calculator">24 / 3</gadget>
<output>8</output>

<result>8</result>