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: usb ac battery charger
Product list:
A: APC UPS Battery Backup and Surge Protector, 600VA Backup Battery Power Supply, BE600M1 Back-UPS with USB Charger Port
B: Portable Charger, 15000mAh 18W PD QC3.0 Power Bank Portable Battery Charger, 4 Output Dual Input Portable Phone Charger Battery Pack with Built-in Wall Plug,Type-C 2 Cables Compatible for iPhone etc
Answer: B,A