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: mother and baby products
Product list:
A: Pearhead Love at First Sight Sonogram Picture Frame, Baby Ultrasound Photo Frame, Baby Nursery Decor, White
B: Aveeno Baby Essential Daily Care Baby & Mommy Gift Set Featuring a Variety of Skin Care and Bath Products to Nourish Baby and Pamper Mom, Baby Gift for New and Expecting Moms, 7 Items
Answer: B,A