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 perfume without alcohol
Product list:
A: Pacifica Beauty, Indian Coconut Nectar Hair Perfume & Body Mist, Coconut and Creamy Vanilla Scent, Natural + Essential Oils, Alcohol Free, 100% Vegan and Cruelty Free, Clean Fragrance
B: Oribe Dry Texturizing Spray, 8.5 oz
Answer: A,B