Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: lee smith books
Product list:
A: The Plot Against the President: The True Story of How Congressman Devin Nunes Uncovered the Biggest Political Scandal in U.S. History
B: Power Grab: The Liberal Scheme to Undermine Trump, the GOP, and Our Republic
Answer: A,B