The Coffee Café Problem — Two Competitors

Imagine that you have permission to build a coffee café in a small town with a single, one-mile long Main Street. You have one competitor who has also gotten permission to build a coffee café. The residents of the town are equally divided along Main Street and will always go to the café closest to their home.

Where on Main Street should you build your coffee café to get the most customers?

Tell me the answer.