In a big town, there's a law that requires every coffee kiosk to be 1,000 yards (measured in a straight line, of course) from every other coffee kiosk in town.
What is the maximum number of coffee kiosks allowed under the law, and how would they be arranged?