def get_max_index(list_array):
    """
        Get indexes of maximum values
           Args:
            list_array (list of numbers): List of integers from which we want to extract the index, as well as the maximum value selected
           Return:
           max_value (number): Maximum of the list_array
           possible_occurencies (list of int): List of indexes where the maximum appear
    """
    max_value = 0
    possible_occurencies = []
    for i in range(len(list_array)):
        val = list_array[i]
        if(val > max_value):
            max_value = val
            possible_occurencies = [i]
        elif(val==max_value):
            possible_occurencies.append(i)
        else:
            continue
    return max_value, possible_occurencies