self employed - where to deduct wife's medicare premiums?

I was self employed in 2023 .  I had an HDHP for myself and my wife - me for 12 months, and her for 7months. From August she was on medicare.  I have  managed to get the appropriate deduction for my HDHP expenses, but I have read that her 5 months of medicare premiums are also deductible. However, I cannot find anywhere to enter this. 

Please point me to the appropriate palce to add these premiums. Thanks!