NYC is a bad example, the real estate costs really sky rocketed over the past 25 years or so...so it's very possible that someone could have gotten one of those buildings on a $40K/yr teacher's salary.
Good luck doing that in this day and age
Good luck doing that in this day and age