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: smartwool reversible headband
Product list:
A: SGODDE Balaclava Ski Mask- Windproof Balaclava for Men Women Bike Face Mask Bicycle Balaclavas Cold Weather Face Mask in Winter for Skiing Snowboarding Motorcycling
B: Smartwool Textured Lid Black One Size
Answer: B,A