Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: farm machinery teens
Product list:
A: Farm Equipment Sketch Book: Notebook for Drawing, Writing, Painting, Sketching or Doodling
B: AGRI MECH: June 2017 (Technological Improvement Book 27)
C: Tremendous Tractors (Amazing Machines)
Answer: B,A,C