There are 42 students in Class 51 taking a group photo, the price is 24.5 yuan, 4 photos are given, and 2.3 yuan is charged for each additional photo. If everyone in the class wants a photo, how much will it cost in total?
五一班有42名同学合影，价格是24.5元，给4张照片，另外每加印1张收费2.3元．若全班每人都要一张照片，一共需要付多少元？
<gadget id="calculator">42 - 4</gadget>
<output>38</output>

<gadget id="calculator">38 * 2.3</gadget>
<output>87.4</output>

<gadget id="calculator">24.5 + 87.4</gadget>
<output>111.9</output>

<result>111.9</result>