Helen spent 7.75 to purchase 23 snack sized bags of chips (c) and pretzels (p). Chips cost 0.25 and pretzels cost 0.50. How much of each type of snack did she get?