Half of what Marco has is $24 / 2 = $<<24/2=12>>12.

If he gives Mary $12, she has $12 + $15 = $<<12+15=27>>27.

Now subtract the money Mary spends: $27 - $5 = $<<27-5=22>>22.

Now subtract Marco's money from Mary's remaining money, $22 - $12 = $<<22-12=10>>10.

# Answer

10
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Marco has $24. Mary has $15. If Marco gives Mary half of what he has, Mary will have more than Marco. But Mary spends $5. How much more money does Mary have than Marco?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
10
Marco has $24. Mary has $15. If Marco gives Mary half of what he has, Mary will have more than Marco. But Mary spends $5. How much more money does Mary have than Marco?
train