Instruction: Evaluate each product title in the given list, assess its relevance to the given query, and then arrange the products in descending order of relevance, with the most relevant product at the top of the ranked list.

Input:
Query: spray foam
Product list:
A: Great Stuff 99108824 Smart Dispenser Gaps & Cracks, Cream
B: GREAT STUFF PRO Gaps and Cracks - 24oz Fireblock Foam Insulation Sealant, Pack of 12. Closed Cell, Polyurethane Expanding Spray Foam. Seals & Insulates Gaps Up to 3". Applicator Gun, Cleaner Included
C: Foam Gun, Preciva Professional Foaming Gun Heavy Duty PU Expanding Foam Gun Caulking Gun Spray Application Applicator for Caulking, Filling, Sealing, Home and Office Use
Answer: A,B,C