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: cozy slippers for boys
Product list:
A: 6 Pairs Warm Fuzzy Socks for Kids with Grippers - Non Skid Slipper Socks for Toddlers - Dark Two Tone 6-10 Yr Debra Weitzner
B: UGG unisex child Tasman Ii Slipper, Chestnut, 6 Big Kid US
C: RockDove Men's Original Two-Tone Memory Foam Slipper, Size 5-6 US Men, Dark Gray/Blue
Answer: B,A,C