[i for i, x in enumerate(l) if x == max(l)]
if isMinLevel: return values.index(min(values)) else: return values.index(max(values))