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: maternity bodycon maxi dress
Product list:
A: PRETTYGARDEN Women's Basic Crewneck Belted Office Dress Solid Color Short Sleeve Party Slim Dress Black
B: Zeagoo Women's Summer Sexy Stretch Ruched Sundress Plus Size Bodycon Midi Tank Dress,Black,XX-Large
C: BTFBM Women Sleeveless Bodycon Ruched Short Dress Side Drawstring Solid Crew Neck Casual Summer Tank Shirt Mini Dresses (Brown, Medium)
Answer: C,B,A