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: brass outdoor cap bolts
Product list:
A: 1/4-20 x 2-1/2" Button Head Socket Cap Bolts Screws, 304 Stainless Steel 18-8, Allen Hex Drive, Bright Finish, Fully Machine Thread, Pack of 20
B: Comdox 500Pcs M3 M4 M5 Stainless Steel Button Head Hex Socket Head Cap Bolts Screws Nut Assortment Kit
C: FUDESY Outdoor Post Lights, Electric Exterior Lamp Post Light Fixture with Pier Mount Base, LED Bulb Included, Anti Corrosion Black Plastic Materials, 2-Pack Pole Lanterns for Garden, Patio, Pathway
Answer: A,B,C