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: teacher shirts
Product list:
A: Be Kind T-Shirt Women Cute Bee Graphic Shirt Blessed Shirt Funny Inspirational Teacher Casual Tees Tops (L, Black)
B: Anbech Womens Teacher Shark Shirt Short Sleeve Funny Graphic Tees Blouse Cute Tops (L, Gray1)
Answer: B,A