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: 27 cushion
Product list:
A: QQbed Outdoor Patio Chair Washable Cushion Pillow Seat Covers 24" X 22" - Replacement Covers Only (6Pack 24"X22", Peacock Blue)
B: Classic Accessories 25 x 27 x 5 Inch Rectangular Patio Lounge Seat Cushion Foam
C: M Magic Cushion Cover Lasting SPF50+/PA+++(No.27) -longlasting, high coverage/hydrating cushion foundation
Answer: B,A,C