Count the number of ways to award first place to third place to the top three groups in an engineering competition.

Thanks!