In a certain city, there are 60% male and 40% female residents. Among the male residents, 25% are under the age of 18, whereas among the female residents, 30% are under the age of 18. If a resident is chosen at random, what is the probability that this resident is either a male under 18 years of age or a female over 18 years of age?