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: locking medicine bag
Product list:
A: Medication Zipper Hood Security Bag (Red)
B: Smell Proof Bag with Combination Lock Odor Proof Stash Case Container; Medicine Lock Box Bag Travel Storage Case (Gray)
Answer: B,A