write AB