The smallest number in this octet that is not complex is 2, so according to the meaning of the question, you can only choose three boxes from 2, 6 and 8. According to the principle of multiplication, you have to guess 3×2× 1=6 times at most.
So the answer is: 6.