The simplest thing is to fold some paper money. Make a mark, and then you can start drawing lots. I suggest you make a 10 label. Then each team asked them to choose two people to draw lots. This makes the probability smaller. Be fair. No trouble.
In fact, the round robin will face the problem of bye-bye from the beginning. Besides, the grade competition is basically a knockout. Why do we have a round robin?