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: wool bucket hat
Product list:
A: Lacoste Mens Rib Knitted Contrast Beanie , Navy Blue/Navy Blue, One Size
B: squaregarden Bucket Hats for Men Women, Woolen Outdoor Fishing Hunting Hat Sun Cap, Black
C: Gelante Cotton Packable Fishing Hunting Summer Travel Bucket Cap Hat 1900-Woodland-L/XL
Answer: B,C,A