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: wahl finale
Product list:
A: Wahl Professional 5-Star Series Rechargeable Shaver/Shaper #8061-100 - Up to 60 Minutes of Run Time - Bump-Free, Ultra-Close Shave
B: Andis Profoil Lithium Plus Titanium Foil Shaver 17200, Black/Gray, 1 Count
C: Wahl 4000 Razor Screen Foil, Ultra Clean (Super Close)
D: Wahl Professional 5 Star Series Charge Stand for 5 Star Series Shaver Shaper for Professional Barbers and Stylists - Model 7031-900
Answer: A,B,D,C