There are five men A, B, C, D and E and six women P, Q, R, S, T and U, A, B and R advocates;
C, D, P, Q and S are doctors and the rest are teachers. Some terms are to be selected from amongst these eleven persons subject to the following condition :
A, P and U have to be together.
B cannot go with D or R.
E and Q have to be together.
C and T have to be together.
D and P cannot go together.
C cannot go with Q.
If the term is to consists of one advocate, three docotors and one male teacher, the members of the team are :
The advocates are A, B and R; the doctors are C, D, P, Q and S; male teachers is E. Clearly, E will be selected, E and Q have to be together. C and Q cannot be together. So, C will not be selected. P also cannot be selected because U is not selected. So, two other doctors D and S will be selected. P is not selected, so A will not be selected. D is selected, so B cannot be selected. Thus, the team is D E Q R S.