Smoking status at the time of acute myocardial infarction and subsequent prognosis