Hearty bought a total of 3 + 5 = <<3+5=8>>8 packages.

Therefore, she has a total of 8 x 40 = <<8*40=320>>320 beads.

# Answer

320
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Hearty bought 3 packages of blue and 5 packages of red. If there are 40 beads in each package, how many beads does Hearty have in all?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
320
Hearty bought 3 packages of blue and 5 packages of red. If there are 40 beads in each package, how many beads does Hearty have in all?
train