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: mocasin for men
Product list:
A: Amazon Essentials Men's Moccasin Slipper, Chestnut, 11 M US
B: UGG Men's Ascot Slipper, Chestnut, 11
Answer: A,B