To celebrate the 63rd anniversary of the founding of the People's Republic of China, the students in Class 4 and 1 specially bought colored paper and prepared to cut various small flags and flowers to dress up the class. Each person was given 7 red papers and 15 yellow papers. After distributing to 16 classmates, there are 138 left. How many sheets of the two kinds of paper did you buy in total?
四1班同学为庆祝建国63周年，特意买来彩纸准备剪各种小旗和花装扮班级．每人发7张红纸，15张黄纸．发给16个同学后，还剩138张．两种纸一共买了多少张？
<gadget id="calculator">7 * 16</gadget>
<output>112</output>

<gadget id="calculator">15 * 16</gadget>
<output>240</output>

<gadget id="calculator">112 + 240 + 138</gadget>
<output>490</output>

<result>490</result>