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: bag heat sealer
Product list:
A: Maybelline Great Lash Washable Mascara, Clear, 1 Tube
B: 100 Pcs 5x7 (O) Clear Flat Cello/Cellophane Treat Bags Good for Bakery, Cookies, Candies
C: Pack It Chic - 4 X 6 (1000 Pack) Clear Resealable Polypropylene Bags - Fits 4X6 Prints, Photos, A1 Cards, Envelopes - Self Seal
Answer: B,C,A