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: baby magic shampoo and body wash
Product list:
A: Baby Magic Hair And Body Wash 16.5 Ounce Soft Powder Scent (488ml) (3 Pack)
B: Baby Magic Creamy Baby Oil | 9oz (Pack of 6) | Coconut Oil & Camelia Oil | Free of Parabens, Phthalates, Sulfates and Dyes
C: Baby Magic Calming Lotion 30oz Pack of Free of Parabens Phthalates Sulfates and Dyes, Lavender & Chamomile, 4 Count
D: Johnsons HTT Wash & Shampoo
Answer: A,D,C,B