There are 14 caterpillars on the tree. 4 more eggs hatch, and baby caterpillars climb out to munch on the leaves.  8 fat caterpillars leave the tree to cocoon themselves to be butterflies.  How many caterpillars are left on the tree? Let's think step by step and output the final answer after "####".
user
With the new babies, there are 14 + 4 = <<14+4=18>>18 caterpillars.
With the big caterpillars leaving, there are 18 - 8 = <<18-8=10>>10 caterpillars on the tree.
#### 10
There are 14 caterpillars on the tree. 4 more eggs hatch, and baby caterpillars climb out to munch on the leaves.  8 fat caterpillars leave the tree to cocoon themselves to be butterflies.  How many caterpillars are left on the tree?
train