The ratio of cats to dogs in a room is 2:3. Five more cats enter the room, and then the ratio of cats to dogs is 9:11.How many cats and dogs were in the room to begin with?