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: frame holder display for 24 x 36 horizontal
Product list:
A: Giftgarden 18 x 24 Large Picture Frame Set of 10, Black Wall Poster Frames Portrait Landscape Art
B: M&T Displays Portable Snap Frame, Poster Size, 1" Profile with White Backing and Anti-Glare PET Cover (24x36, Silver)
Answer: B,A