Max HSA contribution?

2017, both 63+, joint high deductible health insurance Jan to Oct.  Nov - Dec, I switched to Medicare, my spouse switched to individual high deductible health insurance.  What is the max contribution for each HSA?