A variation of the game of nim is played with three stacks. Two stacks are blue and one is red. Play consists of removing some positive number of counters from one stack, like normal. But the red stack cannot be touched until one of the blue stacks has been depleted.

Find a winning strategy for this nim variant. (The winner is the person to take the last counter.)