Kim purchased a dress that was originally $35. It was on sale for 30% off. She also bought a pair of shoes for 1/2 off the original price of $17. If the store added a 4% sales tax, how much would she pay for both items?