An animal shelter houses only cats and dogs, and there are 25% more cats than dogs. if there are 40 cats, how manu dogs are there, and how many animals arw there total?