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: babe pig tshirt
Product list:
A: Bodycon Midi Dress Women Off Shouder Blooming Babe Floral Dip Hem Evening Dress Black
B: LOGOPOP Men's Bae Not Bacon T-Shirt, S, Royal
Answer: B,A