A patient reports a history of cigarette smoking that includes smoking 2 packs per day (ppd) from 1990 to 2012, then 1 ppd from 2013 until quitting in 2022. Calculate the number of pack years smoking.