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: gold mary janes infants
Product list:
A: DREAM PAIRS Girl's Elisa-1 Mary Jane Strap Flat Shoes Gold Size 8 Toddler
B: Robeez Baby-Girl's Espadrille-First Kicks Crib Shoe, Gold Shimmer, 3-6 Months M US Infant
C: Antheron Baby Girls Mary Jane Flats Soft Sole Infant Moccasins Floral Sparkly Toddler Princess Dress Shoes(Golden,12-18 Month)
Answer: C,B,A