Jill runs a business breeding llamas. Nine of her llamas got pregnant with 1 calf, and 5 of them got pregnant with twins. After they give birth, Jill traded 8 of the calves for 2 new adult llamas. Then she sells 1/3 of her herd at the market. How many total llamas  (calves and adults) does Jill have now? Let's think step by step and output the final answer after "####".
user
The number of calves that will be born as twins is 5 * 2 = <<5*2=10>>10 calves.
The total number of adults and calves before the trade is 9 + 5 + 9 + 10 = <<9+5+9+10=33>>33.
Jill had 33 - 8 = <<33-8=25>>25 left for trading 8 of the claves.
But, she got 2 adult llamas in return, so she now has a total of 25 + 2 = <<25+2=27>>27 llamas.
She then sold 27 / 3 = <<27/3=9>>9 llamas in the market.
So, Jill has 27 - 9 = <<27-9=18>>18 llamas now.
#### 18
Jill runs a business breeding llamas. Nine of her llamas got pregnant with 1 calf, and 5 of them got pregnant with twins. After they give birth, Jill traded 8 of the calves for 2 new adult llamas. Then she sells 1/3 of her herd at the market. How many total llamas  (calves and adults) does Jill have now?
train