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: ring stick up cam
Product list:
A: Ring Indoor Cam, Compact Plug-In HD security camera with two-way talk, Works with Alexa - White
B: Ring Rechargeable Battery Pack
Answer: A,B