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: white shelves for bathroom
Product list:
A: Americanflat White Floating Shelves - Wall Mounted - Set of 3 - Display Ledges for Bedroom, Bathroom, Living Room, Kitchen, and Office
B: Melannco Floating Wall Shelves for Bedroom, Living Room, Bathroom, Kitchen, Nursery, Set of 4, White, 4 Count
Answer: A,B