Pitcher A leaves the game after five innings, his team (home team) up 2-0.
Pitcher B comes in to pitch the top of the sixth. In the bottom of the sixth his team scores another 3 runs to go up 5-0.
In the top of the seventh, pitcher B gives up 3 runs. Home team still up, 5-3.
Game ends 5-3. Who gets the win, Pitcher A or Pitcher B?