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: $10 candles
Product list:
A: Double Digits Cake Topper, 10th Birthday Cake Topper, Double Digits Tenth Birthday Party Cake Supplies Decorations
B: Colonial Candle Classic Taper Candle, 10 In (pack of 12), Blue, 12 Count
Answer: B,A