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: day pants for men
Product list:
A: Wrangler Authentics Men's Twill Relaxed Fit Cargo Pant, Navy Ripstop, 38W x 32L
B: SmartyPants Men's Formula, Daily Multivitamin for Men: Vitamins C, D3, Zinc, Omega 3, CoQ10, & B12 for Immune Support, Energy, Prostate & Heart Health, Fruit Flavor, 180 Gummies (30 Day Supply))
C: Under Armour mens Raid 10-inch Workout Gym Shorts , Black (001)/Graphite , X-Large
Answer: A,C,B