Olivia goes shopping at the mall and buys a shirt that is on sale for 25% off. She also knows that the sales tax is 5%. If her final cost is $25, how much did the shirt originally cost?