In a certain city, there are two parks: Park A and Park B. The city council has determined that 60% of the residents live closer to Park A, while 40% live closer to Park B. Additionally, it has been observed that 75% of the residents who live closer to Park A own a dog, whereas 50% of the residents who live closer to Park B own a dog.
Let’s denote the event of owning a dog as D. What is the probability that a randomly selected resident from this city owns a dog?