I bought a house in 1999, lived in it for three years, and then rented it until 2018. I sold it for the for the balance of the loan in 2018. Do I file the difference amt?

I bought a house in 1999 for $48,500. I lived in it for 3 years. I rented it out until 2018. I sold it in 2018 for the mortgage loan balance of $50,290. Do I have to file a profit between the 1999 price and the mortgage loan price?