Instruction: Rank the products A, B, C, ... based on their relevance to the provided query, and produce a ranked list with the most relevant product positioned at the top of the list.

Input:
Query: kms free shape hot flex spray
Product list:
A: KMS Free Shape Conditioner, 8.5 Fl Oz
B: KMS California Free Shape 2-In-1 Spray 6.1 Oz.
C: KMS Thermashape Hot Flex Spray, 6.7 Ounce
Answer: B,C,A