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: john snow costume
Product list:
A: Northern Snow King Wig + Shield Pin. Short Black Curly Cosplay Wigs For Men Cosplay Halloween Mens Costumes
B: Game Of Thrones Winter Is Coming House Stark Molded Handle Sword Umbrella
Answer: A,B