prompt: A boat carrying 20 sheep, 10 cows and 14 dogs capsized.  3 of the sheep drowned.  Twice as many cows drowned as did sheep.  All of the dogs made it to shore.  How many total animals made it to the shore?
messages.content: A boat carrying 20 sheep, 10 cows and 14 dogs capsized.  3 of the sheep drowned.  Twice as many cows drowned as did sheep.  All of the dogs made it to shore.  How many total animals made it to the shore?
messages.role: user
messages.content: The boat had 20 - 3 = <<20-3=17>>17 sheep make it to shore.
  3 sheep drowned, so 2 * 3 = <<2*3=6>>6 cows drowned.
  10 cows on the boat - 6 drowned = <<10-6=4>>4 cows made it to the shore.
  17 sheep + 4 cows + 14 dogs = <<17+4+14=35>>35 animals made it to shore.
  #### 35
messages.role: assistant