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: miady lifepo4 battery
Product list:
A: GreenLiFE Battery GL50-50AH 12V Lithium Ion Battery
B: 12V 36Ah Deep Cycle LiFePO4 Battery, 2000 Cycles Miady Rechargeable Battery for Golf Cart, Boat, Solar System, UPS and More (12V 36Ah)
C: Miady 2-Pack 15000mAh Portable Charger, 5V/3A USB-C Fast Charging Power Bank, 2.4A Dual Output Ports Portable Phone Charger, Compatible with iPhone 11, Samsung Galaxy S10, Note 10, Pixel 4, etc
Answer: B,A,C