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: leapfrog learning friends 100 words book
Product list:
A: LeapFrog Disney/Pixar Finding Dory Learning Game (for LeapPad Platinum, LeapPad Ultra, LeapPad2, LeapPad3)
B: BEST LEARNING Stack & Learn - Educational Activity Toy for Infants Babies Toddlers for 6 Month and up - Ideal Baby Toy Gifts
C: LeapFrog Phonics Fun Animal Bus , Yellow
D: LeapFrog 100 Words and 100 Animals Book Set (Frustration Free Packaging)
Answer: D,A,B,C