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: plastic dinnerware set black
Product list:
A: Select Settings 40 pc. Black Square Plastic Plates 20 Dinner plates & 20 Salad Plates Disposable Plate Combo Sets (Black Square Plates)
B: 350 Piece Gold Dinnerware Set - 50 Guest Gold Lace Design Plastic Plates - 50 Gold Plastic Silverware - 50 Gold Cups - 50 Linen Like Gold Napkins, 50 Guest Disposable Gold Dinnerware Set
Answer: A,B