The students in the fourth grade made a five-pointed star, and each person distributed 8 pieces of red paper and 13 pieces of yellow paper. After they were distributed to 16 students, there were 112 pieces left. How many sheets of the two kinds of paper did you buy in total?
四年级的同学做五角星，每人发了8张红纸，13张黄纸，发给16个同学后，还有112张．两种纸一共买了多少张？
<gadget id="calculator">8 + 13</gadget>
<output>21</output>

<gadget id="calculator">21 * 16</gadget>
<output>336</output>

<gadget id="calculator">336 + 112</gadget>
<output>448</output>

<result>448</result>