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: adidas leggings women high waisted
Product list:
A: adidas Originals Women's Essentials Linear Tights, Black/White, X-Small
B: adidas Women's Essentials 3-stripes Tricot Pant, Black/White, Small
C: adidas Women's Petite Essentials 3-Stripes Single Jersey Joggers, Core Black/White, X-Small
Answer: A,B,C