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 security system 10 piece kit
Product list:
A: Ring Alarm 8-piece kit (2nd Gen)  home security system with optional 24/7 professional monitoring  Works with Alexa
B: Ring Retrofit Alarm Kit - existing wired security system and Ring Alarm required, professional installation recommended
Answer: A,B