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