Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: fire hd 8 7th generation tablet keyboard without case
Product list:
A: Nulaxy KM12 Backlit Wireless Bluetooth Keyboard with Magnetic Detachable Leather Cover, Rechargeable Keyboard Compatible with iPad iPhone Apple Phone Samsung Tablets
B: MoKo Wireless Bluetooth Keyboard, Ultra-Thin Foldable Rechargeable Keyboard for iPhone, iPad 9.7, iPad pro, Fire HD 10, Compatible with All iOS, Android and Windows Tablets Smartphones Devices, Gray
Answer: B,A