private static int[] genPref()
    {
        int[] pref = new int[FRUIT_NAMES.length];
        for (int i = 0; i != pref.length; ++i)
            pref[i] = i + 1;

        shuffle(pref);
        return pref;
    }