There are five men A, B, C, D and E and six women P, Q, R, S, T and U. A, B and R are advocates; C, D, P, Q and S are doctors and the rest are teachers. Some teams are to be selected from amongst these eleven persons subject to the following conditions :
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 team is to consist of two advocates, two doctors, two teachers and not more than three ladies, the members of the team are