Get the final balls
There are 100 balls in a bucket. Starting with Alice, Alice and Bob take turns taking out up to 5 balls from the bucket. The person who takes the last ball is the winner.
How many balls should Alice take on her first turn to ensure that she'll win the game if played optimally?