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: macbook air refurbished 13 inch
Product list:
A: Apple Pencil
B: (Renewed) Apple MacBook Pro MD101LL/A 13.3-inch Laptop (2.5Ghz, 4GB RAM, 500GB HD)
C: Apple 13" MacBook Air Core i5 CPU, 8GB RAM (2017 Model 128GB)
Answer: B,C,A