The most unaffordable place to live in the U.S. is not San Francisco or Manhattan. It’s Brooklyn.

A person earning the average salary in Brooklyn cannot afford the average home there — even if he or she could spend his entire salary (and then some) on housing, according to a survey released on Thursday by real estate data company ATTOM Data Solutions, which looked at home sales price data in 414 of the most populous counties in the U.S. as well as average wage data from the Bureau of Labor Statistics. The second and third most unaffordable places in America are Santa Cruz, Calif. and Marin County, Calif. — both of which would also require the average wage earner to spend his or her entire salary and more to buy the median home in the area.