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: nail polish brown
Product list:
A: ZOYA Nail Polish, Emilia, 0.5 Fl Oz (Pack of 1)
B: OPI Infinite Shine 2 Long-Wear Lacquer, Linger Over Coffee, Brown Long-Lasting Nail Polish, 0.5 fl oz
Answer: B,A