My arithmetic was awry... started at 16, now 62... so 46 years. Sorry to hear that admission to hospital prompted the need to stop. I hope you're recovering well.
Ironically, recent surgery on my hand brought me into contact with a clinician who happened to ask if I had ever considered stopping smoking. He wanted the open wounds to heal quickly.
I've quit three times in the past (more than 30 years ago); it took a week for the cravings to disappear but I missed the habit and thought, foolishly, "if I can do it now, I can do it later."
Now that I'm older and weaker, the conversation about cessation was opportune and welcome. Self-maintenance!!
Stay strong 💪