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: day of the dead costume women
Product list:
A: InCharacter Costumes Women's Flirty Flamenco Costume, Black/Pink, Large
B: Leg Avenue Women's 2 Piece Day of The Dead Doll, Black/Multi, Small/Medium
Answer: B,A