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: black sweat pants men
Product list:
A: Vickyleb Mens Joggers Sweatpants with Zipper Pockets,Men Women 3D Casual Active Sports Joggers Pants Trousers Sweatpants Black
B: Vickyleb Sweatpants for Men Big and Tall,Men's Sweatpants with Zipper Pockets Open Bottom Athletic Pants for Jogging, Workout, Gym, Running, Training Gray
Answer: B,A