The table shows the ages and genders of the dogs at an animal shelter. What is the probability that a randomly chosen dog is a female or over 5 years old?