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: adidas black sweatpants for men
Product list:
A: adidas Men's Condivo 18 Training Pants, Black/White, Small
B: adidas Originals Men's Vocal Sweat Pant, black, Large
Answer: A,B