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: professional beard trimmer for men
Product list:
A: Beard Shaper,Beard Shaping Tool Template,Double Sided Beard Shaping Comb,Men Farther Boyfriend Beard Edging Trimmer Stencil
B: Xisheep 40X Smoke Tower Cones Bullet Backflow Incense Hollow Cone Multi Home, Christmas Holiday Party Decoration
Answer: A,B