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: women's black fitness leggings
Product list:
A: Amazon Essentials Women's Studio High-Rise 7/8 Length Yoga Legging, Black, Medium
B: RAYPOSE Womens High Waist Workout Capris Leggings w Pockets Running Capri High Waisted Tummy Control Yoga Pants Non See Through for Women Workout Capri Black-Large
Answer: B,A