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: lace glue for wigs waterproof
Product list:
A: Got2b Glued Blasting Freeze Hairspray, 12 Ounce
B: Esha Lace Wig Adhesive Glue (Strong Hold) + Adhesive Remover Set
C: Glued Wig Glue | Hair Replacement Adhesive | Invisible Wig Glue For Front Lace Wig Waterproof
Answer: C,B,A