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: k cup classic
Product list:
A: Keurig My K-Cup Universal Reusable K-Cup Pod Coffee Filter, Compatible with Keurig Classic/1.0 K-Cup Pod Coffee Makers, 1 Count, White
B: Replacement Holder Part with Exit Needle, Compatible with Keurig brewer models K10, K15 K40, K45, K50, K60, K65, K70, K75, K77, K79 (2 Pack)
C: K&J Replacement Charcoal Water Filters Compatible With KEURIG - Universal Fit (NOT CUISINART) for Keurig 2.0 (and older) Coffee Machines (6-Pack)
Answer: B,A,C