The amount that Medicare and Medicaid will pay long-term care facilities for services is based on:
A. The facility's location
B. The resident's income
C. The facility's costs
D. The resident's medical condition