public String getvalues(int n) {
        int flag = 0;
        String values = "";
        String temp = "%%%%%!!@";
        for (int z = 0; z < 1000; z++) {
            if (count[z][0] != null) {
                if (n == Integer.parseInt(count[z][0])) {
                    flag = 1;
                    if (!count[z][1].contentEquals(temp)) {
                        values = values + " " + count[z][1];
                        temp = count[z][1];
                    }
                } else if (flag == 1) {
                    break;
                }
            } else {
                break;
            }
        }
        return values;

    }