Finding the initial number of red marbles