An animal shelter has a total of 5 * 47 animals comprised of cats, dogs, and rabbits. If the number of rabbits is 5 less than one half the number of cats, and there are 20 more cats than dogs, how many dogs are at the shelter?