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: art of problem solving number theory solution
Product list:
A: Introduction to Number Theory Solutions Manual
B: AoPS 2-Book Set : Art of Problem Solving Beyond Volume 2 Textbook and Solutions Manual 2-Book Set
Answer: A,B