A home decor store donated a percent of every sale to hospitals. The total sales were $9800 so the store donated $588. What percent of $9800 was donated to hospitals.?