Avery bought a washing machine originally priced at $864.72 but on sale for 30% off. After 4% sales tax, what was the total cost?