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: cash box safe fireproof waterproof
Product list:
A: Noiposi Fireproof Document Bags,13.4x9.4 Waterproof and Fireproof Bag for Documents and 10.6x6.7 Fireproof Money Bag with Zipper,Silicone Fire Safe Storage Pouch for Documents,Money and Cash
B: Amazon Basics Steel Security Safe and Lock Box with Electronic Keypad - Secure Cash, Jewelry, ID Documents - 0.5 Cubic Feet,13.8 x 9.8 x 9.8 Inches
Answer: A,B