Do you know, what permutations and combinations are? If so, you will have to use combinations for this problem.
First, add 12 males+11 females = 23 total
Then, use your combination, 23C7= 245,157
There are 245,157 ways that a team of seven can be selected. Let me know if you don't know what combinations are in mathematics.