All three boxes are mislabeled. So pick a ball from the box now labeled mixed. It must hold either the blue balls or the red balls. Suppose it is blue. You now know that all the balls in this box are blue. The box now labeled blue must actually hold the red balls and the box now labeled red must be the mixed box. Move all the labels to the correct boxes.