Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: halloween candy bulk
Product list:
A: HERSHEY'S Miniatures Assorted Chocolate Candy, Holiday, 35.9 oz Bulk Party Bag
B: Assorted Bulk Candy, Individually Wrapped: 12 LB Box Variety Pack with Tootsie Rolls, Tootsie Pops, Jolly Ranchers, Assorted Laffy Taffy's & More! Great for Holiday and Party Treats
Answer: B,A