static HashMap<Integer, String> number(String[] array){
HashMap<Integer, String> map = new HashMap<>();
int number = 0;
for (int i = 0; i < array.length; i++){
for (int j = 0; j < array.length; j++){
if (array[i].equals(array[j])){
number++;
map.put(number, array[i]);
}
}
}
return map;
}