Possible Duplicate:
Combinatorics-N boys and M girls are learning acting skills from a theatre in Mumbai.
N boys and M girls are learning acting skills from a theatre. To perform a play they need to form a group of P actors containing not less than 4 boys and not less than 1 girl. The theatre requires you to write a program that tells them the number of ways the group can be formed.
Note: Composition should be unique and not the order in which the composition is made of.
I have tried a lot but can't get over some of my confusions. How can i solve this ?