Please reason step by step, and put your final answer within \boxed{}.
Anthony has 12 cats and dogs, 2/3 of which are cats. Leonel has a certain ratio of cats compared to Anthony's cats and seven more dogs than Anthony. The two have a total of 27 animals. What is the ratio of the number of cats Leonel has to the number of cats Anthony has?
user