A bag of buttons had 21 buttons in it. Seven buttons had two holes and the rest had four holes. How many holes were in all the buttons in the bag?
There were 21 - 7 = 
<gadget id="calculator">21-7</gadget>
<output>14</output>
14 buttons with four holes.
The four-holed buttons had 14 * 4 = 
<gadget id="calculator">14*4</gadget>
<output>56</output>
56 holes.
The two-holed buttons had 7 * 2 = 
<gadget id="calculator">7*2</gadget>
<output>14</output>
14 holes.
Thus, there were 56 + 14 = 
<gadget id="calculator">56+14</gadget>
<output>70</output>
70 holes in all the buttons in the bag.

<result>70</result>