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: hocus pocus cape for women
Product list:
A: Gothic Black Crow Costume Feather Cape Shawl with Maleficent Horns Cosplay Set
B: Eliacher Women's Casual Camouflage Printed Brushed Leggings Stretch Seamless Halloween Leggings (XL/XXL, Halloween Pumpkin)
Answer: A,B