prompt: 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?
messages.content: 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?
messages.role: user
messages.content: 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
messages.role: assistant