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: mens dress shoes black boot
Product list:
A: Timberland PRO mens 6" Pit Boss Steel Toe Snow Shoe, Black Oiled Full-grain Leather, 10.5 US
B: Skechers Men's Work Cottonwood Goddard Slip On, Black - 12 D(M) US
Answer: A,B