Out of a group of 50 students taking examinations in Mathematics, Physics, and Chemistry, 37 students passed Mathematics, 24 passed Physics, and 43 passed Chemistry. Additionally, no more than 19 students passed both Mathematics and Physics, no more than 29 passed both Mathematics and Chemistry, and no more than 20 passed both Physics and Chemistry. What is the maximum number of students who could have passed all three examinations?