public int[] findnumber(int numbers, Collection<Integer> target) {
        boolean flag_exist;
        int[] result = new int[5];
        int exist = 0;


        Collection<Integer> number = castinttohashset(numbers);
        Iterator<Integer> iter = number.iterator();
        int location = 0;
        while (iter.hasNext()) {
            int cur = iter.next();
            flag_exist = target.contains(cur);
            if (flag_exist) {
                exist++;
                Iterator<Integer> targetiter = target.iterator();
                int targetloc = 0;
                while (targetiter.hasNext()) {
                    int targetcur = targetiter.next();
                    if (targetloc == location) {
                        if (targetcur == cur) {
                            result[location] = 1;
                            break;
                        }
                    }
                    targetloc++;
                }
            }
            location++;
        }

        result[4] = exist;

        System.out.println("("+result[0]+" "+result[1]+" "+result[2]+" "+result[3]+" "+result[4]+")");


        return result;
    }