Lucky Candy

Easy probability interview practice: Lucky Candy.

You have 50 good candies and 50 rotten candies to distribute between two boxes. A box is chosen at random, then a candy is drawn at random from that box. How should you distribute the candies to **maximize** the probability of drawing a good candy?