The Big Apple is often criticized for its high cost of living.