78. A has several dogs, and B has several sheep. If B exchanges all the sheep for the same number of dogs, then B needs to pay A an additional 320 yuan; if B does not do so, B will get 5 fewer dogs. It is known that the price of 1 dog is 32 yuan less than the price of 2 sheep. B originally had $\qquad$ sheep.
Reference answer: 20