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: lighted makeup mirror 10x magnification
Product list:
A: Caseling Portable Hard Carrying Travel Storage Case for External USB, DVD, CD, Blu-ray Rewriter / Writer and Optical Drives - Black
B: KOOLORBS Makeup Mirror with Lights, 1x 2X 3X Magnification, Lighted Makeup Mirror, Touch Screen Switch, Vanity Mirror with Lights, Dual Power Supply, Portable Trifold Makeup Mirror, Female Gift
Answer: B,A