First find the number of fish the gharials need to eat: 9 gharials * 15 fish/gharial = <<9*15=135>>135 fish

Then find the number of frogs by multiplying that quantity by the number of frogs per fish: 135 fish * 8 frogs/fish = <<135*8=1080>>1080 frogs

Then multiply the number of frogs by the number of flies each frog eats to find the number of flies: 1080 frogs * 30 flies/frog = <<1080*30=32400>>32,400

# Answer

32400
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Each frog needs to eat 30 flies per day to live. Each fish needs to eat 8 frogs per day to live. Each gharial needs to eat 15 fish a day to live. How many flies get eaten every day in this swamp if it has 9 gharials?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
32400
Each frog needs to eat 30 flies per day to live. Each fish needs to eat 8 frogs per day to live. Each gharial needs to eat 15 fish a day to live. How many flies get eaten every day in this swamp if it has 9 gharials?
train