At a school, students participated in a fundraising event. Each student raised a different amount of money according to the equation:
$$ R = 5S + 15 $$
where:
If a total of 40 students participated, how much money was raised by all students combined?