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: high power headlamp 3xt6
Product list:
A: Rechargeable Headlamp, Head-Flashlight, USB Rechargeable Head Lamp, Waterproof LED Work Headlight, Adjustable Headlamps for Adults and Kids, Hard Hat Light for Camping, Running, Fishing
B: Brightest Headlamp 8000 Lumen CREE XHP70 LED Super Bright Headlamp Rechargeable High Power Zoomable Waterproof 3 Modes Batteries Included,Support Power Output,Best for Outdoor Camping Fishing
C: Amazon Basics 20 Pack AAA High-Performance Alkaline Batteries, 10-Year Shelf Life, Easy to Open Value Pack
Answer: A,B,C