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: scary drinking glasses
Product list:
A: Darware Skull Mason Jar Mugs (Set of 4); Clear 12oz Glasses with Reusable Straws
B: Amazing Abby - Iceberg - 24-Ounce Plastic Tumblers (Set of 8), Plastic Drinking Glasses, Mixed-Color High-Balls, BPA-Free, Shatter-Proof, Dishwasher-Safe
Answer: A,B