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: carhartt lined cap
Product list:
A: Carhartt Men's Arctic-Quilt-Lined Sandstone Hood,Carhartt Brown,One Size
B: Carhartt Girls' Toddler Sherpa Lined Fleece Hoodie (Infant & Toddler), Plum Caspian Heather, 3T
C: Carhartt Men's Workflex Ear Flap Cap,Carhartt Brown,Large/X-Large
Answer: A,C,B