Prove that $\sum_{k = 1}^n O(f_k(i)) = O\left(\sum_{k = 1}^n f_k(i)\right)$ by using the linearity property of summations.