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: cat proof patio
Product list:
A: Roving Cove Banister Guard (10ft L x 3ft H), Baby Safety Stairs Rail Net, Baby Proofing Stair Balcony Banister Railing Mesh Guard, Safe Rail, Pearl White
B: Kittywalk Outdoor Net Cat Enclosure for Decks, Patios, Balconies
C: Kidkusion Indoor/Outdoor Banister Guard, Clear, 15'
Answer: B,C,A