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: fellowship of the ring book
Product list:
A: The Fellowship of the Ring: Book One in The Lord of the Rings Trilogy
B: The Hobbit & The Lord of the Rings Gift Set: A Middle-earth Treasury
C: THE LORD OF THE RINGS: Book (1) One: The Fellowship of the Ring; Book (2) Two: The Two Towers; Book (3) Three: The Return of the King - Collector's Edition
Answer: A,C,B