How to arrange a round of basketball match in Class 26?

26 classes were randomly divided into two groups, with the top 6 students in each group.

The top 12 players make a single cycle and select the top eight players.

The top eight players play the knockout round according to the ranking, and the specific ranking is:

First place versus eighth place

Second place vs seventh place-> winner of first place vs eighth place? vs? The winner of the fourth place versus the fifth place

The winner of third place vs sixth place, second place vs seventh place? vs? The winner of the third place versus the sixth place.

Fourth place versus fifth place

In the end, the remaining two winners competed for the first and second place.