In a certain community, the ratio of cats to dogs is 3:5. If there are a total of 64 animals in the community, how many cats are there?