Instruction: Evaluate the relevance of each product title in the input to the given query, and then sort the products in descending order of relevance, placing the most relevant product at the top of the ranked list.

Input:
Query: foam it green 602
Product list:
A: Smooth Cast Onyx Fast Black Liquid Plastic Casting Resin - Trial Unit
B: Two-Component Polyurethane Foam Kit 600 Board Feet
Answer: B,A