Instruction: Rank the products A, B, C, ... based on their relevance to the provided query, and produce a ranked list with the most relevant product positioned at the top of the list.

Input:
Query: chanel lipstick long lasting
Product list:
A: L'Oreal Paris Makeup Colour Riche Shine Lipstick, Varnished Rosewood, 0.1 oz.
B: Chanel Rouge Coco Ultra Hydrating Lip Colour 3.5g/0.12ozColor: # 442 Dimitri
C: Chanel Rouge Allure Ink No. 152 Choquant for Women, 0.2 Ounce
Answer: B,A,C