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 clothes
Product list:
A: Pregnancy Journal: A Week-By-Week Guide to a Happy, Healthy Pregnancy (Deluxe, Cloth-bound 3rd edition)
B: Witchy Mama: Magickal Traditions, Motherly Insights & Sacred Knowledge
C: Liu & Qu Women's Maternity Sleeveless Tank Dresses Side Ruching Bodycon Dress for Daily Wearing or Baby Shower
D: Everyday Fashions of the Forties As Pictured in Sears Catalogs (Dover Fashion and Costumes)
Answer: C,B,A,D