Do I add 2018 mortgage interest, insurance cost, and utilities to the tax basis of a rental property I sold in 2018, if stopped renting it in 2017?

I inherited and began renting the property in 2015, stopped renting Nov. 2017, & sold it Jan. 2018. Never used as personal residence. Sold for profit.