If Megan has 5 pieces of candy, and Mary has 3 times as much candy as Megan, then Mary has 5 * 3 = 15 pieces of candy.
If Mary adds 10 more pieces of candy to her collection, then she has a total of 15 + 10 = 25 pieces of candy.
Therefore, Mary has 25 pieces of candy in total.
#### 25
The answer is: 25
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
Mary has 3 times as much candy as Megan. Mary then adds 10 more pieces of candy to her collection. If Megan has 5 pieces of candy, how many does Mary have in total?

### Answer:
