Instruction: Rank the products A, B, C, ... based on their relevance to the provided query, and produce a ranked list with the most relevant product positioned at the top of the list.

Input:
Query: medicine cabinet with mirror 24 x 36
Product list:
A: Fresca 20" Wide x 36" Tall Bathroom Medicine Cabinet w/Mirrors
B: Krugg LED Medicine Cabinet 24 Inch X 36 Inch | Recessed or Surface Mount Mirror Cabinet w/Dimmer & Defogger + 3X Makeup Mirror Inside & Outlet + USB - Left Side
Answer: B,A