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: lin manuel miranda good morning good night
Product list:
A: {(Gmorning, Gnight)}[Gmorning, Gnight]
B: Lin-Manuel Miranda: Award-Winning Actor, Rapper, Writer, and Composer (Breakout Biographies)
Answer: A,B