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: leg lamp ugly christmas sweater
Product list:
A: Leg Lamp Christmas Story Unisex Crew Sweatshirt - Large Red (ATA-B102)
B: A Christmas Story, A Christmas Story Decal, Fra-Gee-Lay, That Must Be Italian, Christmas Story Decal, Leg Lamp Decal, You'll Shoot Eye Out, Christmas Decal, Leg Lamp Sticker, Ugly Sweater Decal, Movie
Answer: A,B