Since order is not important, the combination may be used. The formula is as follows.
where n is the number of possible options and r is the number of chosen options.
Thus, the given are as follows.
Substitute the given values into the formula and then simplify.
Therefore, there must be 792 ways.