Fall marathon season is here and thousands of runners around the U.S. are in training.

The New York City Marathon, which has been touted as one of the word’s largest marathons, will gather hordes of runners come November 6, 2016. In honor of this race, real estate brokerage company Redfin analyzed cities across the U.S. to discern which are the best for marathon training.

To come up with the list, Redfin looked at Walk Score (a private company measuring the walkability of any address), the number of parks per square mile, average daily temperature and the amount of sunlight for each city.

Redfin’s top 20 cities for marathon training are:

  1. San Francisco, CA
  2. New York, NY
  3. Jersey City, NJ
  4. Boston, MA
  5. Washington, D.C.
  6. Miami, FL
  7. Seattle, WA
  8. Arlington, VA
  9. Chicago, IL
  10. Milwaukee, WI
  11. Baltimore, MD
  12. Santa Ana, CA
  13. Long Beach, CA
  14. Philadelphia, PA
  15. Portland, OR
  16. Minneapolis, MN
  17. Oakland, CA
  18. Newark, NJ
  19. Buffalo, NY
  20. Cleveland, OH