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: 1 ft curtain rod without finials
Product list:
A: Kenney Adler Indoor/Outdoor Rust-Resistant Wrap Around Curtain Rod, 28-48", Black
B: KAMANINA 1 Inch Curtain Rod Single Drapery Rod 72 to 144 Inches (6-12 Feet), Twisted Cage Finials, Black
C: Amazon Basics 1" Wall Curtain Rod with Square Finials, 72" to 144", Nickel
Answer: C,A,B