In reply to Ksharp.

The StackExchange post has a simulation by whuber that is similar to what I would do in SAS/IML. The simulation would compute P(8 or more males) for a row of 28 students.