Instruction: Check if a product can function as a substitute for a given query, even if it doesn't fully meet all requirements. Output yes if it can or no otherwise.

Input:
Query: the i hate mathematics book
Product: I Hate Math: Gift For Maths Lover Teacher Major Journal Lined Notebook To Write In For Women And Men
Answer: no