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: brand new iphone 11 pro max
Product list:
A: (Renewed) Apple iPhone 11 Pro Max, US Version, 256GB, Midnight - Unlocked
B: Apple iPhone 11 Pro, US Version, 512GB, Space Gray - Unlocked (Renewed)
Answer: A,B