A social club charters a bus at a cost of $500 to take a group of members on an excursion to Atlantic City. At the last minute, five people in the group decide not to go. This raises the transportation cost per person by $5. How many people originally intended to take the trip?