Consider sets $A$ and $B$ with $|A| = 10$ and $|B| = 5\text{.}$ How many functions $f: A \to B$ are surjective?