If player A or C wins, he wins both the main pot and the side pot ($17,000) and Player B is out of the game since he is out of money. If player B wins, he wins the main pot and the side pot goes to which ever player has the best hand between players A and C.