He got 1200*500=$<<1200*500=600000>>600,000 from maxed donors

The smaller donors donated 1200/2=$<<1200/2=600>>600

He had 500*3=<<500*3=1500>>1500 of these donors

So they donated 1500*600=$<<1500*600=900000>>900,000

So large donations where worth 900,000+600,000=$<<900000+600000=1500000>>1,500,000

So he raised 1,500,000/.4=$<<1500000/.4=3750000>>3750000

# Answer

3750000
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Tim decides to run a campaign for governor.  He gets the maximum $1200 donation from 500 people, and three times as many people donated half this sum of money to his campaign.  These donations together accounted for 40% of the total money that Tim raised.  How much total money did he raise?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
3750000
Tim decides to run a campaign for governor.  He gets the maximum $1200 donation from 500 people, and three times as many people donated half this sum of money to his campaign.  These donations together accounted for 40% of the total money that Tim raised.  How much total money did he raise?
train