The ratio of dogs to cats in the neighborhood was 2 to 3. If there were 30 dogs in the neighborhood, how many cats were there?