Right, Medicare. I assume the real case is your spouse has 40 credits, you pay SS tax try to beat the system to gain good investment return. If you purely want to get Medicare, that is a different topic. You get Medicare free from your spouse contribution.