Maximum HSA contribution in a year with partial Medicare coverage

what is the maximum I can contribute in a year when I will have Medicare coverage for 5 months?