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: ted anti-embolism stockings knee length
Product list:
A: Futuro Anti-Embolism Knee Length Stockings, Moderate Compression, Closed Toe, Medium Regular, White
B: T.E.D. Knee Length Continuing Care Anti-Embolism Stockings Medium, Beige
Answer: B,A