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: recpro water heater tankless
Product list:
A: Rinnai RU130eN Condensing Tankless Hot Water Heater, 7 GPM, Natural Gas, Outdoor Installation
B: Ecosmart ECO 24 24 KW at 240-Volt Electric Tankless Water Heater with Patented Self Modulating Technology, 17 x 17 x 3.5
Answer: B,A