Instruction: Given a query and a list of products denoted as A, B, C, ... with their titles, rank the products according to their relevance to the query. Output only a ranked list in which the most relevant product is at the top of the list.

Input:
Query: thomas friends puzzle
Product list:
A: Thomas the Train Coloring and Activity Book Set with over 90 Stickers (2 Books, 4 Sticker Sheets)
B: Bits and Pieces - 500 Piece Jigsaw Puzzle for Adults 18" x 24" - Winter Friends - 500 pc Snowman Outdoor Nature Jigsaw by Artist Janet Stever
C: Puzzles for Kids Ages 4-8 60 Pieces Jigsaw Puzzles for Boys and Girls Educational Learning Puzzles in Metal Box(Thomas)
Answer: C,B,A