\begin{gather*} A = \left \{ a_1, a_2, a_3, ... , a_{|A|} \right \}\\ B = \left \{ b_1, b_2, b_3, ... , b_{|B|} \right \} \end{gather*}
in-context