Input (grade 4): Teams are ranked by total points, then goal difference, and then goals scored.
Output (grade 7): If two or more teams are equal on points, then the difference between of goals scored and goals against is considered.