A group of friends went to an amusement park. The total cost for admission was $104. The price of each ticket was $8. Write and solve an equation to determine the number of friends, f, who went to the amusement park.