Input (grade 8): One turn at bat for each team constitutes an inning and nine innings make up a professional game.
Output (grade 7): Then the team that was batting starts playing defense, and the team that was playing defense starts batting.