You have encountered 100 gold bars in a cave.
In the cave, a goblin shows you 3 holes in the wall. He says one hole will triple what you put in it, one hole will leave it as the same amount, and one hole will take all of your gold.
Without knowing which hole has what characteristic, how can you maximize your gold?
You can put any amount you want in the holes.