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: multivcolors socks for men pack of thirt
Product list:
A: Hanes Men's Long Sleeve Cool Dri T-Shirt UPF 50+, Large, 2 Pack ,1 Black / 1 White
B: Ripple Junction Grateful Dead Steal Your Face and Pattern Women's 3-Pack Novelty Ankle Socks
Answer: B,A