From amongst five doctors A, B, C, D and E, four engineers G, H, K and L and six teachers M, N, O, P, Q and R, some teams are to be selected. Of these, A, B, G, H, O, P and Q are females and the rest are males.
The formation of teams is subject to the following conditions :
Wherever there is a male doctor, there will be no female teacher.
Wherever there is a male engineer, there will be no female doctor.
There shall not be more than two male teachers in any team.
If the team consists of three doctors, two male engineers and two teachers, the members of the team could be :
The doctors are A, B, C, D and E; male engineers are K and L; teachers are M, N, O, P, Q and R. Clearly, the two male engineersto be selected are K and L.
Since male engineers are selected, so female doctors i.e. A and B cannot be selected.
Thus, three doctors to be selected are C, D and E. The doctors selected are all males. So, female teachers O, P and Q cannot be selected. Thus, two teachers out of M, N and R are to be selected.