Xiaojun, Xiaoqiang, and Xiaogang went to the park and took a total of 78 single photos and 40 triple photos. If there are several people in the photo, how many photos will be printed, and how many photos will be printed in total?
小军、小强、小刚去公园游玩，一共拍了78张单人照和40张三人照．如果照片上有几人，就要洗印几张，一共要洗印多少张照片？
<gadget id="calculator">40 * 3</gadget>
<output>120</output>

<gadget id="calculator">120 + 78</gadget>
<output>198</output>

<result>198</result>