At the end of a baseball game, the players were given the choice of having a bottle of water or a box of juice. Of all of the players, 12 chose a bottle of water, which was 3/4 of the total number of players. Write and solve an equation to determine p, the total number of players at the baseball game.