Jill had $90. She bought a skirt that normally costs $42 but was on sale for half price. She also bought a T-shirt that was $8 off its regular price. Before sales tax, the total cost of the clothes was $31. What was the regular price of the T-shirt?