Instruction: Given a query and a list of products denoted as A, B, C, ... with their titles, rank the products according to their relevance to the query. Output only a ranked list in which the most relevant product is at the top of the list.

Input:
Query: transformers iphone xs max cases
Product list:
A: MAXCURY Phone Case for Apple iPhone Xs Max, Heavy Duty Tough 3 in 1 Rugged Shockproof Cover for Apple iPhone Xs Max in 6.5 Inch (Black)
B: Head Case Designs Officially Licensed Transformers Optimus Prime Autobots Key Art Hard Back Case Compatible with Apple iPhone Xs Max
C: Mondetech for iPhone 6s/6 Case, Slim Drop Protection with Ring Stand, Magnetic Holder Compatible, Outdoor Heavy Duty Shockproof Protective Cover for iPhone 6s/6, Red
Answer: B,A,C