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: christmas gifts for husband from wife
Product list:
A: Engraved 3D Moon Lamp for Wife ,Personalized 5.9 Inch 3D Printing Moon Light Gift for Wife Valentine's Christmas Gift (for Wife)
B: to My Husband Anniversary Gifts Wooden Watch Engraved Wife to Husband Watches Wedding Personalized Birthday Watch for Him Man - Zebra Black
Answer: B,A