You must be at least 55 years of age by the last day of the tax year (2018) in order to qualify for the $15,000 subtraction from Maryland taxable income. Otherwise, you qualify for the $5,000 subtraction.
TurboTax will choose the correct amount based on your age.