Students are selling raffle tickets for a school fundraiser. They collect $24 for every raffle ticket they sell.

Suppose M is the amount of money the students collect for selling R raffle tickets. Write an equation that reflects the relationship between M and R.