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: sally book nightmare befire christmas
Product list:
A: The Nightmare Before Christmas Coloring Book: Tim Burton Coloring Book With Unofficial High Quality Images For Kids And Adults
B: Yilooom Personalized Guestbook Sally & Jack Skellington Nightmare Before Christmas Wedding Engraved Wooden Guest Book Rustic Wedding GUE
C: Unique Pattern Burned Wooden Spoons Nightmare Kitchen Slotted Spoon House Warming Presents Bamboo Utensil Set
Answer: A,B,C