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: lg gpad f2 8.0 case heavy duty
Product list:
A: NZXT H510 - CA-H510B-W1 - Compact ATX Mid-Tower PC Gaming Case - Front I/O USB Type-C Port - Tempered Glass Side Panel - Cable Management System - Water-Cooling Ready - White/Black
B: INFILAND Case Compatible with Sprint LG G Pad F2 8.0- Tri-Fold Ultra Slim Stand Smart Case for Sprint LG G Pad F2 8.0 LK460 8" Tablet, Black
Answer: B,A