Baseball and softball games cannot end until both teams have had an equal number of turns at bat, unless further play (by the home team if they lead after innings) cannot affect the outcome. In the final scheduled inning (typically, in professional and advanced amateur leagues the ninth inning, but usually the seventh for youth leagues and softball, and the sixth for leagues for subteens such as Little League), if the visitors complete their turn at bat and still trail the hosts, the game ends. If the visitors lead or the game is tied, the hosts take their "last ups" at bat. If the hosts should exceed the visitors' score, the game ends at the conclusion of the play on which the hosts take this insurmountable lead. (If the final scheduled inning ends in a tie, multiple extra innings will be played, and that procedure repeats until one team leads, which wins the game.)