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: iphone 8 case with ring
Product list:
A: LeYi Compatible for iPhone 8/7/ 6s/ 6 Case with Tempered Glass Screen Protector, Pass 16ft Drop Test Military-Grade Cover with Magnetic Ring Kickstand, Protective Phone Case for Apple iPhone 8, Red
B: DEFBSC iPhone 7 iPhone 8 iPhone SE 2020 Marble Case with Ring Kickstand,Marble Design 360 Degree Rotating Ring Kickstand Soft TPU Shockproof Case Cover for iPhone 7/8/SE 2020 4.7 Inch (Marble)
Answer: B,A