Two basketball teams, Team A and Team B, are playing in the NBA Eastern Conference finals; the first team to win 4 games is declared the overall winner.