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: freddy krueger jack in the box
Product list:
A: Funko 8 Bit POP!: Horror - Freddy Krueger Collectible Figure
B: Funko 33551 Super Deluxe: Nightmare Before Christmas - Jack Skellington with Zero Collectible Figure, Standard, Multicolor
Answer: A,B