Regina has 4 pigs/cow * 20 cows = <<4*20=80>>80 pigs.

She could sell the pigs for 80 pigs * $400/pig = $<<80*400=32000>>32000.

For the cows Regina would get 20 cows * $800/cow = $<<20*800=16000>>16000.

In total Regina would earn $16000 + $32000 = $<<16000+32000=48000>>48000.

# Answer

48000
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Regina has a farm with animals. She has 20 cows and four times more pigs. Someone told her, that she could sell all the animals and earn $400 for each pig and $800 for each cow. How much money would she earn if she would sell all the animals from the farm?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
48000
Regina has a farm with animals. She has 20 cows and four times more pigs. Someone told her, that she could sell all the animals and earn $400 for each pig and $800 for each cow. How much money would she earn if she would sell all the animals from the farm?
train