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: baby heartbeat monitor pregnancy
Product list:
A: Dixie EMS Fetal Stethoscope for Babys Heartbeat Detection, Latex-Free Fetoscope with Pinard Horn and Soft Earbuds, 22
B: Contec SLB-BLUE Sonoline B Prenatal Heart Listener/Detector, Orange/Blue/Pink
Answer: B,A