Take the ball in the box in the order of red ball, yellow ball, blue ball and then red ball, yellow ball, blue ball ... until there are 500 boxes in the box. Take out from the box at least how many marbles to be sure the number of balls taken out are all 3 colors