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: pathfinder figures
Product list:
A: LITKO Paper Figure Counter Stand, 1 inch Circle Base, 1x1.5 inch Tall Slot (5)
B: WizKids Pathfinder Battles: Deep Cuts Unpainted Miniatures: Gargantuan White Dragon (WZK73145)
Answer: B,A