So the Ammonites went out and formed ranks for battle at the entrance to the city while the kings who had come were by themselves in the open country.