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: plastic potty training underwear
Product list:
A: Toddler Potty Training Pants 4 Pack,Cotton Training Underwear Size 2T,3T,4T,Waterproof Underwear for Kids Pink 2T
B: Gerber Plastic Pants 4 Pairs, White, 2T-3T
Answer: B,A