3. (10) Prove that \(\operatorname{rank}(AB) \leq \operatorname{rank}(A)\) for any \(n \times n\) matrices \(A\) and \(B\).