New York is one of the most expensive states to live in the country.