Input (grade 9): A game is won by the first player to have won at least four points in total and at least two points more than the opponent.
Output (grade 8): In a tiebreak, players have to get at least seven points while getting two more points than the other player to win the set.