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: beach body books
Product list:
A: The Body on the Beach (An Island Mystery Book 1)
B: Beaches and Bodies (A Westford Bay B&B British Cosy Mystery - Book One) (Westford Bay B&B Cosy Mystery Series 1)
Answer: B,A