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: bluetooth speaker waterproof
Product list:
A: Zosam Portable Bluetooth Speaker, IPX6 Waterproof Wireless Speaker with 10W HD Stereo Sound, Rich Bass, 10H Playtime, Built-in Mic and AUX/SD Input for Shower, Pool, Outdoor, Travel
B: Hard Travel Case Replacement for JBL Pulse 3 Wireless Bluetooth IPX7 Waterproof Speaker by co2CREA
Answer: A,B