Task: Query_Product_Rank
Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: flower nail head
Product list:
A: Big Flower Nails 2Pcs/set, KOOTIPS 7.5cm/ 3inch Stainless Steel Cake Flower Decorating Tool, Flower Nails Baking Tools
B: Flower Nails Cake Decorating, 8pcs Stainless Steel Cake Flower Decoration Tool Icing Flower Nail Baking Tool Different Size
Answer: A,B