We use 5 Boolean variables, \{$v_4$, . . . , $v_0$\}, for the encoding.\\

$A = (v_2 \land v_3)$\\
$B = \lnot v_4$