Instruction: Given a query and a list of products denoted as A, B, C, ... with their titles, rank the products according to their relevance to the query. Output only a ranked list in which the most relevant product is at the top of the list.

Input:
Query: 8 inch chair legs
Product list:
A: 8 inch / 20cm Furniture Legs, La Vane Set of 4 Aluminium Plinth Adjustable Cabinet Feet Matte Black for Cupboard Sofa Kitchen Couch Bookcase
B: #CL713 8" Brown Walnut Finish Ottoman/Couch/Sofa Wooden Legs - Set of 4
C: AORYVIC Angled Furniture Legs Slanted Wood Legs for Ottoman Bench Coffee Table Pack of 4 (8 inch high)
Answer: C,B,A