The priority function takes as input an item and an array of bins_remain_cap (containing the remaining capacity of each bin) and returns a priority score for each bin. 
The bin with the highest priority score will be selected for the item.

### Solution Function Signature
```python
def priority(item: float, bins_remain_cap: np.ndarray) -> np.ndarray:
```