Consider a school with two classes, A and B. In class A there are 15 girls and 17 boys. In class B, there are 19 girls and 10 boys. Both classes plan extracurricular activities for which each class forms a committee consisting of three students. How many possible committees are there such that the total of committee members of both classes combined consists of 4 girls