Instruction: Rank the products A, B, C, ... based on their relevance to the provided query, and produce a ranked list with the most relevant product positioned at the top of the list.

Input:
Query: womens dress pants
Product list:
A: Lee Women's Flex Motion Regular Fit Trouser Pant, Black, 12
B: Rekucci Womens Bootcut Pant (12, Black)
Answer: A,B