Instruction: Evaluate the relevance of each product title in the input to the given query, and then sort the products in descending order of relevance, placing the most relevant product at the top of the ranked list.

Input:
Query: calculator with square root
Product list:
A: Casio MS-80B Standard Function Desktop Calculator,Black
B: Texas Instruments TI-503 SV Standard Function Calculator
Answer: A,B