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: women silver hats occasion
Product list:
A: Janey&Rubbins Women Kentucky Derby Church Wedding Fascinators Cloche Bucket Bowler Hat (Silver)
B: 2 Pieces Unisex Sun Protective Face Bandana Women UV Protection Face Scarf for Summer Outdoor Activities (White, Skin Color)
Answer: A,B