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: hair dye white permanent
Product list:
A: Il Salone Milano The Legendary Collection Alfaparf Group Permanent Hair Color Cream - 10.1 Very Light Iced Blonde Hair Dye - Professional Salon - Premium Quality - 100% Gray Coverage - Paraben Free - Ethyl Alcohol Free - Moisturizing Oils
B: Garnier Hair Color Nutrisse Ultra Color Nourishing Hair Color Creme, Mascarpone Creme Pl2, Pack of 1
C: Herbatint Permanent Haircolor Gel, 10N Platinum Blonde, 4.56 Ounce
Answer: A,B,C