Instruction: Evaluate the relevance of each product title in the input to the given query, and then sort the products in descending order of relevance, placing the most relevant product at the top of the ranked list.

Input:
Query: dove mens sculpting paste
Product list:
A: Strong Hair Paste for men - Matte Finish Molding - Flake Free, Heavy Duty, Hair Styling, Pliable, Defining Paste with Castor Oil for Hair Growth and Amino Acids By Osensia, 4 Ounces
B: Dove Men+Care Styling Aid Hair Product Medium Hold Sculpting Hair Paste Hair Styling for a Textured Look With A Matte Finish 1.75 oz
Answer: B,A