I'm that lazy
There are three boxes with balls.
One box has only blue balls , one has only red balls and the last one has both red and blue balls.
The boxes have been labelled but incorrectly.
You are allowed to open one box, pick one ball at random, see its color and put it back into the box, without seeing the color of the other ball.
How many such operations are necessary to correctly label the boxes?