A travel agency will plan a tour for groups of size 25 or larger. If the group contains exactly 25 people, the cost is $500 per person.
However, each person's cost is reduced by $10 for each additional person above the 25.
If the travel agency incurs a cost of $125 per person for the tour, what size group will give the agency the maximum profit?