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: mezcal and tequila infusion set
Product list:
A: Personalized 3 piece Whiskey Decanter Set - Decanter and 2 Glasses Gift Set - Custom Engraved (Miller Design)
B: Bartesian Premium Cocktail and Margarita Machine for the Home Bar with Push-Button Simplicity and an Easy to Clean Design (55300)
Answer: B,A