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: period box for tweens
Product list:
A: Teamoy 6Pcs 12 Inch Reusable Pads, Cloth Menstrual Pads Washable Period Pads with Charcoal Bamboo Absorbency Layers, Fit for General Flow (Cute Whale, Large)
B: Menstruation Kit - First Period Kit To-go! (Period Starter Kit with Organic & Biodegradable Pads) (Pink)
Answer: B,A