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: warhammer paint
Product list:
A: Model Paint Brush Set Miniature. Fine Detail Hobby Painting Brush 4pc Size 0 Paintbrushes for Art Watercolor Acrylics Oil Warhammer Paint Set. Nail Airplanes Art Craft Game DND Miniatures Figurines
B: Game Injection Hobby Model Build-Your-Own Assortment - Choose 5 or More Paints or Accessories (Most Popular)
Answer: B,A