Instruction: Rank the products A, B, C, ... based on their relevance to the provided query, and produce a ranked list with the most relevant product positioned at the top of the list.

Input:
Query: shakey graves dearly departed
Product list:
A: Dearly Departed
B: Dearly Departed General
C: Dearly Departed: A Reverse Harem Academy Romance (Afterworld Academy Book 1)
Answer: A,C,B