The below table gives the details of the number of students in Class 10, section A and B who had taken mid-term and final exam. What is the total number of students in both, section A and B?
| Result | Sec A | Sec B |
| Total number of students who failed in both exams. | 28 | 23 |
| Total number of students who failed in mid-term but passed in finals. | 14 | 12 |
| Total number of students who passed in mid-term but failed in finals. | 6 | 17 |
| Total number of students who passed in both the exams. | 64 | 55 |