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: samsung the frame tv 49 inch
Product list:
A: Samsung QN65LS03AAFXZA 65 Inch The Frame QLED 4K Smart TV 2021 Bundle with Premium 1 Year Extended Protection Plan
B: SAMSUNG 32-inch Class FRAME QLED LS03 Series - FHD Dual LED Quantum HDR Smart TV with Alexa Built-in (QN32LS03TBFXZA, 2020 Model) (Renewed)
C: Samsung 49" Frame TV Customizable Bezel Brown VG-SCFM49DP/ZA (2019)
Answer: C,A,B