Question 22
Joe has a total of 31 dollars that he will use to purchase four different items that have unit prices of 2, 3, 5 and 7 dollars each respectively. If he needs to purchase at least one piece of each item, and Joe has to use all his money without leftovers, in how many different ways can he buy the goods?