Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: bmw oem headlights
Product list:
A: Mean Mug Auto 21323-82314A Headlight Washer Nozzle - Compatible with BMW - Replaces OEM #: 61677179311
B: ACANII - For [Halogen Model] 2006-2008 BMW E90 3-Series Sedan LED Halo Black Projector Headlights Headlamps Assembly
Answer: B,A