9. Maryland

The state ranks 46th for affordability, while ranking 19th for healthcare.