Let $a_i , b_i \geqslant 0$ $\forall i \in \{1 , 2 , 3 , .... , n\}$
Prove that $$min\{\frac{a_i}{b_i}\} \leqslant \frac{\sum_{i=1}^n a_i}{\sum_{i=1}^n b_i} \leqslant max\{\frac{a_i}{b_i}\}$$
Given that $min\{...\}$ and $max\{...\}$ equals to the minimum and the maximum element in the set.
I don’t know how to deal with minimum and maximum. I would like some hints (or solution) please. Thank you.