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 7 earphones
Product list:
A: in Ear Headphones for i Phone 8, HiFi Stereo Noise Isolating Earphones for i Phone 7 Wired Earbuds with Mic and Volume Control Compatible with i Phone 11 Pro Max i Phone X XS Max i Phone XR 8 7 Plus
B: LETSCOM Bluetooth Headphones IPX7 Waterproof, Wireless Sport Earphones, HiFi Bass Stereo Sweatproof Earbuds W/Mic, Noise Cancelling Headset for Workout, Running, Gym, 8 Hours Play time, PinkGray
Answer: A,B