In a half-subtractor circuit with X and Y as inputs, the Borrow (M) and Difference (N = X -Y) are given by