Instruction: Rank the products A, B, C, ... based on their relevance to the provided query, and produce a ranked list with the most relevant product positioned at the top of the 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: amscan - 170407 Amscan Birthday Celebration, Numeral #1 Glitter Candle, Party Supplies, Black, 3 1/4" -
Answer: B,A