Three students plan to rent a minivan for the weekend and equally share the rental cost. By adding two more people, they can each save $24. How much is the total rent of the car?