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: fionna hat adventure time girls
Product list:
A: Rubie's Costume Adventure Time Jake Child Costume, Small
B: Zoofy International Adventure Time Fiona Hat
Answer: B,A