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: foldable ergonomic chair
Product list:
A: Ergonomic Kneeling Chair, Adjustable Stool for Home and Office - Improve Your Posture with an Angled Seat - Thick Comfortable Moulded Foam Cushions - Brake Casters
B: Office Factor Reception Guest Chairs with Flip Up Arms  Comfortable Mesh, Ergonomic Contour, Flippable Armrests  Modern Convertible Furniture for Visitors, Meeting Groups 300 Lbs Rated (Black)
Answer: A,B