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: curtain for half moon door window
Product list:
A: Lush Decor 16T003316, Turquoise and Orange Lush Decor Bohemian Stripe Window Curtain Colorful Bold Design Panel Pair, 84" x 52", 84" long x 52" wide
B: Arch Light Filtering Fabric Shade Pack of 2 fit for Perfect Half-Round Arch Windows No Tools Installation, Grey, 72 x 36
Answer: B,A