Julia bought 3 packs of red balls, 10 packs of yellow balls, and 8 packs of green balls. There were 19 balls in each package. How many balls did Julie buy in all?
The total number of packages is 3 + 10 + 8 = 
<gadget id="calculator">3+10+8</gadget>
<output>21</output>
21.
Julia bought 21 * 19 = 
<gadget id="calculator">21*19</gadget>
<output>399</output>
399 balls.

<result>399</result>