A group of friends want to go to the county fair for $2.50 per person and to catch a trolley into the fairground is $10 for the group. If the total cost is $35 how many of the friends can get into the fair?