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: queen size hospital beds for home use
Product list:
A: ZINUS Compack Metal Bed Frame / 7 Inch Support Bed Frame for Box Spring and Mattress Set, Black, Queen
B: Mayton 8-Inch Firm Double sided Tight top Waterproof Vinyl Innerspring Mattress 8" Split Wood Box Spring/Foundation Set, King
Answer: B,A