A certain pet store has only cats and dogs. The ratio of the number of cats to the number of dogs in the pet store is 2:3. 14 of the cats and 12 of the dogs wear collars. If 48 animals wear collars, what is the total number of animals in the pet store?