and (b) from A to B