Input (grade 9): The league was divided into four divisions, and the top four teams in each of the divisions advanced to the playoffs.
Output (grade 8): The league was split into four divisions, and the best four teams in each of the divisions went to the playoffs.