Identify the reactant that is a Bronsted-Lowry acid and the reactant that is a Bronsted-Lowry base in each of the following:
a. $\mathrm{HI}(a q)+\mathrm{H}_{2} \mathrm{O}(l) \longrightarrow \mathrm{I}^{-}(a q)+\mathrm{H}_{3} \mathrm{O}^{+}(a q)$
b. $\mathrm{F}^{-}(a q)+\mathrm{H}_{2} \mathrm{O}(l) \rightleftarrows \mathrm{HF}(a q)+\mathrm{OH}^{-}(a q)$