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: patriotic shorts
Product list:
A: Alki'i Men's Americana Lounge Shorts with Pockets, Denim L
B: Uideazone Women Funny Chest Hair One Piece Bathing Suit Plus Size Sexy Backless Swimsuit Beach Wear,Chest Tan,XX-Large/US 16
C: Calhoun Men's Americana USA Flag Fourth of July Swim Board Shorts (USA, Large)
Answer: C,A,B