A clothing store donated a percent of every sale to hospitals. The total sales were ​$8,450 so the store donated ​$507. What percent of ​$8,450 was donated to hospitals​?