If Debby's share is 25% and Maggie takes the rest, then Maggie's share is 100%-25% = 75%

75% of the total amount is Maggie's share = total amount*(75/100) = $4500

Multiplying both sides of the equation by 100/75 gives the total amount = (100/75)*$4500 = $<<100/75*4500=6000>>6000

# Answer

6000
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Debby and Maggie agreed to share a sum of money so that Debby takes 25% and Maggie takes the rest. If Maggie's share is $4,500, how much did they share?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
6000
Debby and Maggie agreed to share a sum of money so that Debby takes 25% and Maggie takes the rest. If Maggie's share is $4,500, how much did they share?
train