17AndnotamanremainedinAiandBethelthatwentnotoutafterIsrael;andtheyleftthecityopen,andpursuedafterIsrael.

Please segment the words:
17 And not a man remained in Ai and Bethel that went not out after Israel; and they left the city open, and pursued after Israel.