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: candy packs variety for kids sour
Product list:
A: Bulk Assorted Fruit Candy - Starburst, Skittles, Swedish Fish, SweeTarts, Nerds, Sour Patch Kids, Haribo Gold-Bears Gummi Bears & Twizzlers (32 Oz Variety Fun Pack) by Variety Fun
B: Sour Patch Kids & Swedish Fish Treat Size Halloween Candy, Variety Pack, sour, 100 Count
Answer: B,A