Smoking and drinking can each take two years off your life, according to a study of Ontario residents led by an Ottawa doctor.