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: baseball cupcake toppers birthday
Product list:
A: Batter Up - Baseball - Dessert Cupcake Toppers - Baby Shower or Birthday Party Clear Treat Picks - Set of 24
B: Amscan 141097 MLB Collection Cupcake Cases & Picks, Party Table Setting, 1 kit
C: Cracker Jack Original Singles, 1 Ounce (Pack of 25)
Answer: A,B,C