Giving a test to a group of students, the table below summarizes the grade earned by gender.
| | A | B | C | Total |
| :--- | :--- | :--- | :--- | :--- |
| Male | 4 | 20 | 15 | 39 |
| Female | 17 | 8 | 12 | 37 |
| Total | 21 | 28 | 27 | 76 |
If one student is chosen at random, find the probability that the student was not a female and did not earn grade C. Round your answer to four decimal places.