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: fun hat and glove boys
Product list:
A: A Nightmare on Elm Street, Supreme Edition Freddy Replica Metal Glove
B: N'Ice Caps Boys Soft Sherpa Lined Micro Fleece Dino Hat and Mitten Set (3-5 Years, Black/Charcoal/Neon Green)
C: Hey! Play! Kids Magician Costume Set-Dress Up Outfit with Cape, Top Hat, Gloves, Wand- Fun Pretend Play Magic Show Accessories for Boys & Girls, Model:80-YC-1796
Answer: B,C,A