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: cast iron pan hangers
Product list:
A: Vdomus pot rack ceiling mount cookware rack hanging hanger organizer with hooks (silver-33 X 17 inch)
B: 30 Pack ESFUN Heavy Duty S Hooks Black S Shaped Hooks Hanging Hangers Pan Pot Holder Rack Hooks for Kitchenware Spoons Pans Pots Utensils Clothes Bags Towels Plants
Answer: B,A