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: swat costume for men
Product list:
A: SWAT Team Police Classic Cosplay Staff Black L Full Long Sleeve Tee T-Shirt
B: Dreamgirl Men's Special Ops Helmet, Black, One Size
Answer: A,B