Instruction: Given a query and a list of products denoted as A, B, C, ... with their titles, rank the products according to their relevance to the query. Output only a ranked list in which the most relevant product is at the top of the list.

Input:
Query: adult halloween headband
Product list:
A: 5 Pieces Halloween Cat Cosplay Costume Set Faux Fur Cat Ears Headband Cat Paw Gloves Cat Tail and Bow Tie for Halloween Cat Cosplay Costume Accessories
B: Rubie's Brown Cowboy Hat for Pets, Medium/Large
Answer: A,B