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: i want a warm jacket with a hood and that is waterproof and black or dark coloured like navy
Product list:
A: Red Hood Jason Todd DC Comics Superhero Pullover Hoodie Sweatshirt & Stickers (Medium)
B: Legendary Whitetails Men's Standard Camp Night Berber Lined Hooded Flannel Shirt Jacket, Upland Plaid, Large
C: Smith & Wesson M&P Mens Logo T-Shirt, Officially Licensed Short-Sleeve Graphic Tee, Size Small, Charcoal Heather
Answer: B,A,C