The cost of Gary’s gold is 30 * $15 = $<<30*15=450>>450.

The cost of Anna’s gold is 50 * $20 = $<<50*20=1000>>1000.

The total cost of their gold is $450 + $1000 = $<<450+1000=1450>>1450.

# Answer

1450
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Gary has 30 grams of gold that cost $15 per gram. Anna has 50 grams of gold for the cost of $20 per gram. How much is the cost of their gold combined?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
1450
Gary has 30 grams of gold that cost $15 per gram. Anna has 50 grams of gold for the cost of $20 per gram. How much is the cost of their gold combined?
train