Instruction: Given a query and a list of products denoted as A, B, C, ... with their titles, rank the products according to their relevance to the query. Output only a ranked list in which the most relevant product is at the top of the list.

Input:
Query: adidas active shorts women
Product list:
A: adidas Women's Athletics Tricot Snap Pants, Black/White, Medium
B: adidas Women's Essential 3-stripes Short, Black/White, Small
C: adidas Women's Superlite Super No Show Socks (6-Pair), Black - White Marl/Real Magenta/Black/Active Blue/Hi, Medium, (Shoe Size 5-10)
Answer: B,A,C