alex has a list of items to purchase at a market
hackerrank alex has a list of items to purchase at a market