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: string and clothespins for pictures
Product list:
A: Mini Wooden Clothespins for Pictures 100 Bulk Small Natural Traditional Craft Clothespins with Twine String Gardening 328 Feet 1mm for Photos Hanging,Art Craft,Photo Display
B: Outee 301 Pcs Mini Clothespins Wooden Clips Clothespins Wood Photo Paper Peg Pin Craft Clips with 10M Jute Twine Multi-Function
Answer: A,B