Hackerrank shoppers delight