Landon is raising money for a school trip by selling candy bars and bags of chips. The price of each candy bar is $1.25 and the price of each bag of chips is $1.50. Yesterday Landon made $31.25 from selling a total of 23 candy bars and bags of chips. Determine the number of candy bars sold and the number of bags of chips sold.