Instruction: Rank the products A, B, C, ... based on their relevance to the provided query, and produce a ranked list with the most relevant product positioned at the top of the list.

Input:
Query: 40th birthday gift card boxes
Product list:
A: 40th Birthday Gifts for Women 925 Sterling Silver Jewelry Vintage 1980 Happy Bday Forty and Fabulous Pendant Present for Her Mom Sister Friend Wife Turning 40 Year Old, 40th birthday cards and gift box included
B: Amazon.com Gift Card in a Premium Greeting Card by American Greetings (Happy Birthday Design)
Answer: B,A