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: leg and foot warmers
Product list:
A: FIT KING Foot and Leg Massager for Circulation with Knee Heat with Hand-held Controller 3 Modes 3 Intensities FT-011A
B: Electric Heated Foot Warmers for Men and Women Foot Heating Pad Electric with Fast Heating Technology Heating Pad Feet Warmer Auto Shut Off with 3 Temperature Setting by Gintao 2220 inches Gray
Answer: A,B