Seek the grouping method of 22 teams' football match!

Divide into six groups, two groups, three groups, four groups and four groups. The top two of the three teams qualify, and the top three of the four teams qualify, that is, the first 16, and then draw lots. If there are competitions, there will be 30 group matches, the first 8 matches in 16, 4 matches in the top 4 and 2 matches in the final.

If you divide into four groups, there will be too many games to meet your requirements, and there will be no group matches in eight groups. . . So six groups should be the best. If we consider more competitions, we can consider that each group is in the top two, with a total of *** 12 teams, and then draw lots for single elimination. If four teams play a single knockout round, we can lose four games.