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: sally book nightmare befire christmas
Product list:
A: Yilooom Personalized Guestbook Sally & Jack Skellington Nightmare Before Christmas Wedding Engraved Wooden Guest Book Rustic Wedding GUE
B: Unique Pattern Burned Wooden Spoons Nightmare Kitchen Slotted Spoon House Warming Presents Bamboo Utensil Set
Answer: A,B