The freshman class is selling candy bars to raise money. They purchased 3100 candy bars and paid a delivery fee of $35. The total cost, including the delivery fee, was $1430. What was the cost of each candy bar?