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: wahoo trainer
Product list:
A: KOM Cycling 2020 Indoor Trainer Front Wheel Riser Block - 3 Different Heights Creating The Perfect Block for All Trainers Including Cyclops, Wahoo, and Kinetic (Black)
B: Wahoo Fitness ELEMNT Bolt GPS Bike Computer, Stealth Black
Answer: B,A