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: hip pain relief
Product list:
A: Nobi Nutrition Magnesium Complex - High Absorption, Non-GMO, Gluten, Soy and Dairy Free - 500mg Vegetarian Capsules, 2 Month Supply (60 Count)
B: Beautivity Scar Cream, Advanced Scar Treatment, Premium Edition Stretch Mark & Scar Cream, Acne, Surgery, Stretch Marks, Stretch Marks Relief and Burns Repair, Face Skin Repair Gel Made in Canada
Answer: A,B