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: baby flight bed
Product list:
A: Inflatable Travel Foot Rest Pillow Portable Adjustable Three Layers Height Foot Stool for Airplanes, Cars, Home, Trains, Office to Lay Down or Sleep on Long Flights with Pump ... (Blue)
B: Scuddles 3-1 Portable Bassinet for Baby - Foldable Baby Bed - Travel Bassinet Functions As Diaper Bag and Changing Station - Easy Folding for Travel
Answer: B,A