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: light pants for men summer
Product list:
A: Men's Summer Lightweight Breathable Casual Hiking Running Pants Outdoor Sports Quick Dry Trousers (Grey,L)
B: Champion Men's Double Dry Select Training Pant, Navy, XL
Answer: A,B