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: gaming chair with footrest
Product list:
A: Hbada Gaming Ergonomic Racing High Back Computer Height Headrest and Lumbar Support E-Sports Swivel Chair with Adjustable Footrest,Grey and Black, 21.65" D x 27.55" W x 50.39" H
B: X Rocker Wireless Pedestal SE 2.1 PC Office Gaming Chair, 30.7" x 23.2" x 39.76", Black
Answer: A,B