public int[] findnumber(int numbers) {
        boolean flag_exist;
        boolean flag_location;
        int[] result = new int[2];
        int exist = 0;
        int correct = 0;
        String strnumbers = numbers + "";
        ArrayList<Integer> number = new ArrayList<Integer>();
        for (int i = 0, j = 1; i < 4; i++, j++) {
            number.add(Integer.valueOf(strnumbers.substring(i, j)));
        }
        for (int i = 0; i < 4; i++) {
            int k = number.get(i);
            flag_exist = smash.contains(k);
            if (flag_exist) {
                exist++;
                if (k == smash.get(i)) {
                    correct++;
                }
            }


        }
        result[0] = exist;
        result[1] = correct;
        return result;
    }