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: panasonic battery pack pv-bp17
Product list:
A: Kastar Battery Replacement for Panasonic BP-12 BP-15 BP-17 BP-18 HHR-V20A/1B HHR-V214A/K HHR-V40A/1B PV-213A PV-214A PV-215A PV-B18 PV-BP15 PV-BP17 VW-VBH1E VW-VBH2E VW-VBR1E VW-VBR2E VW-VBS1 VW-VBS1E VW-VBS2 VW-VBS2E
B: Replacement for JVC BN-V11U BN-V12U BN-V20U BN-V25U BN-V65 Charger
C: Everydaysource BN-V11U Rechargeable Camcorder Battery High Capacity for JVC BN-V10U, BN-V11U, BN-V12U, BN-V14U, BN-V15, BN-V18U, BN-V22U, BN-V24U, BN-V25U PANASONIC PV-BP15 PV-BP17 Digital Camera
Answer: C,A,B