Hannah's family has ten pigs on their farm. They also have three fewer than twice as many cows as pigs and six more goats than cows. How many animals do they have on their farm? Let's think step by step and output the final answer after "####".
user
Twice the number of pigs is 10 x 2 = <<10*2=20>>20.
So, Hannah's family has 20 - 3 = <<20-3=17>>17 cows.
They also have 17 + 6 = <<17+6=23>>23 goats.
So, they have a total of 10 + 17 + 23 = <<10+17+23=50>>50 animals on their farm.
#### 50
Hannah's family has ten pigs on their farm. They also have three fewer than twice as many cows as pigs and six more goats than cows. How many animals do they have on their farm?
train