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: lathe
Product list:
A: WEN LA4444 4-Inch 4-Jaw Self-Centering Chuck Set with 1-Inch x 8TPI Thread
B: WEN 3424T 4.5-Amp 12-Inch by 18-Inch 5-Speed Benchtop Wood Lathe
Answer: B,A