Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: leap office chair
Product list:
A: Steelcase Gesture Office Desk Chair with Headrest Plus Lumbar Support Cogent Connect Graphite 5S25 Fabric Standard Black Frame
B: Steelcase Leap Chair with Platinum Base & Standard Carpet Caster, Licorice
Answer: B,A