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: frames long and narrow
Product list:
A: Mammoth 4x10 Inches AAA Grade Acrylic Picture Frame, Thick and Heavy Frameless Block Display
B: Americanflat 8x24 Collage Picture Frame with Five 4x6 Displays in Black - Composite Wood with Shatter Resistant Glass - Horizontal and Vertical Formats for Wall
Answer: B,A