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: flower nail head
Product list:
A: KINNO Gold Flakes for Resin Mode,30g Gold Leaf Foil Gilding Resin Epoxy Set for Candle Making, Crafting, Slime, Resin Accessories, Candle Molds,Painting, Crafts, Nail Foil, Home Decoration
B: Big Flower Nails 2Pcs/set, KOOTIPS 7.5cm/ 3inch Stainless Steel Cake Flower Decorating Tool, Flower Nails Baking Tools
C: Flower Nails Cake Decorating, 8pcs Stainless Steel Cake Flower Decoration Tool Icing Flower Nail Baking Tool Different Size
Answer: B,C,A