Charley has a bag that contains 51 white beads and 90 black beads. He reaches in the bag and pulls out 1/6 of the black beads and a third of the white beads. How many beads in total did Charley pull out?
Charley pulled out 90/6 = 
<gadget id="calculator">90/6</gadget>
<output>15</output>
15 black beads.
Charley pulled out 51/3 = 
<gadget id="calculator">51/3</gadget>
<output>17</output>
17 white beads.
Charley pulled out 15+17 = 
<gadget id="calculator">15+17</gadget>
<output>32</output>
32 beads in total.

<result>32</result>