Please answer the given financial question based on the context.
Context: note 9 2014 benefit plans the company has defined benefit pension plans covering certain employees in the united states and certain international locations . postretirement healthcare and life insurance benefits provided to qualifying domestic retirees as well as other postretirement benefit plans in international countries are not material . the measurement date used for the company 2019s employee benefit plans is september 30 . effective january 1 , 2018 , the legacy u.s . pension plan was frozen to limit the participation of employees who are hired or re-hired by the company , or who transfer employment to the company , on or after january 1 , net pension cost for the years ended september 30 included the following components: .
|( millions of dollars )|pension plans 2019|pension plans 2018|pension plans 2017|
|service cost|$ 134|$ 136|$ 110|
|interest cost|107|90|61|
|expected return on plan assets|( 180 )|( 154 )|( 112 )|
|amortization of prior service credit|( 13 )|( 13 )|( 14 )|
|amortization of loss|78|78|92|
|settlements|10|2|2014|
|net pension cost|$ 135|$ 137|$ 138|
|net pension cost included in the preceding table that is attributable to international plans|$ 32|$ 34|$ 43|
net pension cost included in the preceding table that is attributable to international plans $ 32 $ 34 $ 43 the amounts provided above for amortization of prior service credit and amortization of loss represent the reclassifications of prior service credits and net actuarial losses that were recognized in accumulated other comprehensive income ( loss ) in prior periods . the settlement losses recorded in 2019 and 2018 primarily included lump sum benefit payments associated with the company 2019s u.s . supplemental pension plan . the company recognizes pension settlements when payments from the supplemental plan exceed the sum of service and interest cost components of net periodic pension cost associated with this plan for the fiscal year . as further discussed in note 2 , upon adopting an accounting standard update on october 1 , 2018 , all components of the company 2019s net periodic pension and postretirement benefit costs , aside from service cost , are recorded to other income ( expense ) , net on its consolidated statements of income , for all periods presented . notes to consolidated financial statements 2014 ( continued ) becton , dickinson and company .
Question: what was the average net pension cost from 2017 to 2019 in millions


Answer: The answer is:136.66667