Capital gains or others taxes

I lived in a house owned by my mother for 34 years.  My mother passed (we moved into her house ) and we sold the  house we had be living in for $35,000 and it’s valve was $61,700. The house was in my mothers name.  But I was inherited it.  My questions is, will I have to pay taxes, capital gains or other, on the $35000 even thought we sold it for less than the value?   Thank you