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: halloween masks for men
Product list:
A: Dreamgirl Men's King of Egypt King Tut Costume, Black/Gold, Medium
B: Shan-S Chinese Joss Paper, Halloween 100 Pieces Joss Paper Ancestor Money Heaven Bank Hell Note with Credit Card Hell Bank Note,The Sacrificial Offerings and The Hungry Ghost Festival
Answer: A,B