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: all new fire hd 10 tablet
Product list:
A: Fire HD 10 Kids Tablet  10.1 1080p full HD display, 32 GB, Pink Kid-Proof Case (2019 Release)
B: Certified Refurbished Fire HD 10 Tablet with Alexa Hands-Free, 10.1" 1080p Full HD Display, 32 GB, Black - with Special Offers (Previous Generation - 7th)
C: Fire 7 tablet, 7" display, 32 GB, latest model (2019 release), Black
Answer: B,C,A