Determine if the term matches with A or B. Along the way, try to figure out what the categories represent.