Jocelyn and her children went into a movie theater and she bought $75.50 worth of candies and pretzels. Each candy costs $4.75 and each pretzel costs $3.50. She bought a total of 18 candies and pretzels altogether. Determine the number of candies and the number of pretzels that Jocelyn bought.