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: 3 deck screws 1lb
Product list:
A: #14 X 3'' Stainless Flat Head Phillips Wood Screw, (25 pc), 18-8 (304) Stainless Steel Screws by Bolt Dropper
B: Hillman 42482 Power Pro Premium Exterior Wood Screw, 9 X 3-Inch, 50 Pack
Answer: B,A