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: necklace with name
Product list:
A: TOPUNDER Fashion Women Gift 26 English Letter Name Chain Pendant Necklaces Jewelry Mother's Day (Silver W)
B: Gear Beast Cell Phone Lanyard - Universal Neck Phone Holder w/ Card Pocket and Silicone Neck Strap - Compatible with Most Smartphones, Arcadia
C: Avery Name Badge Inserts, 3" x 4", Print or Write, Laser/Inkjet, 300 Badge Inserts (5392)
Answer: A,B,C