Companies $\mathrm{A}$ and $\mathrm{B}$ face the following interest rates (adjusted for the differential impact of taxes):
$$
\begin{array}{lcc}
\hline & \text { Company A } & \text { Company B } \\
\hline \text { U.S. dollars (floating rate) } & \text { LIBOR }+0.5 \% & \text { LIBOR }+1.0 \% \\
\text { Canadian dollars (fixed rate) } & 5.0 \% & 6.5 \% \\
\hline
\end{array}
$$
Assume that A wants to borrow U.S. dollars at a floating rate of interest and B wants to borrow Canadian dollars at a fixed rate of interest. A financial institution is planning to arrange a swap and requires a 50-basis-point spread. If the swap is equally attractive to $\mathrm{A}$ and $B$, what rates of interest will $A$ and $B$ end up paying?