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: hollywood sweetheart gelish nail polish
Product list:
A: ZOYA All Snuggled Up Quad, 2 Ounce, 4 Count
B: Gel UV LED Nail Lamp,LKE Nail Dryer 40W Gel Nail Polish UV LED Light with 3 Timers Professional for Nail Art Tools Accessories White
Answer: B,A