... ' (B), which is the sufficient condition, and everything after ... 'unless' is in the necessary.
... rearrange the sentence so the 'unless' is in the middle, ... the beginning of the sentence. You would get the contrapositive, as follows, for the ...