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: glass paints for wine glasses
Product list:
A: Stain Glass Paint, Non-Toxic Window Paint, Permanent Glass Paint Kit, Lacquer Based for Superior Stained Glass Art Paint, Glass Painting with 10Pieces Round Pointed Tip Nylon Hair Brush
B: Diamond Painting by Number Kits - Sunset in a Wine Glass, Home Goods Wall Art Easy to Complete (11.8x15.7 in)
Answer: A,B