i think the answer to the pearl one would be 5000, 2500 of white, and 2500 of black. Since you said they must be equal in draw, this game is impossible to win entirely because the amount of pearls begins uneven, but the way to win maximum money is to draw 5000. (hopefully you don't have to draw them one at a time, otherwise this wouldn't work. :D)