<human>:  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?
<bot>: How many fish do the gharials need to eat? ** First find the number of fish the gharials need to eat: 9 gharials * 15 fish/gharial = <<9*15=135>>135 fish
How many frogs do the gharials need to eat? ** 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
How many flies do the gharials need to eat? ** 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
#### 32400