Instruction: Evaluate each product title in the given list, assess its relevance to the given query, and then arrange the products in descending order of relevance, with the most relevant product at the top of the ranked list.

Input:
Query: shampoo for white hair to remove yellow
Product list:
A: Purple Hair Mask for Blonde, Platinum & Silver Hair - Banish Yellow Hues: Blue Masque to Reduce Brassiness & Condition Dry Damaged Hair - Sulfate Free Toner
B: Jhirmack Silver Brightening Ageless Shampoo 84121A 841218 12oz
Answer: A,B