A pet store sold dogs and parakeets . They counted 15 heads and 42 feet . How many dogs were there?