Find a math problem
Suppose that the apple is X, the grapefruit is Y and the pineapple is Z, then X+Y+Z =12; Y = 2Z Because four apples are randomly taken out, there is always at least one apple, so it can be concluded that grapefruit+pineapple must be less than four, Y+Z.