<human>:  Heloise has dogs and cats in the ratio of 10:17, with the total number of pets being 189. If she gives 10 dogs to her friend Janet, how many dogs does she remain with altogether?
<bot>: How many pets does Heloise have in total? ** The total ratio for the number of cats and dogs that Heloise has is 10+17 = <<10+17=27>>27
How many dogs does Heloise give to Janet? ** From the ratios, the fraction representing the number of dogs is 10/27, and this represents 10/27*189 = <<10/27*189=70>>70 dogs.
How many dogs does Heloise remain with altogether? ** If Heloise gives 10 of her dogs to Janet, she remains with 70-10 = <<70-10=60>>60 dogs.
#### 60