Sandy bought a soft drink for 3 dollars and 8 candy bars. She spent a total of 35 dollars. How much did each candy bar cost?