The cost of attending a sporting event is $25 for adults and $15 for students. The total cost of A adult tickets and S students can be calculated by using the expression 25A + 15S. If 12 adult tickets and 10 student tickets were purchased, what was the total cost of the tickets?