Instruction: Assess the relevance of a product to a given query by determining if it can function as a substitute, despite not fully meeting certain aspects of the query. Provide a binary output of yes or no based on this evaluation.

Input:
Query: allergy medicine
Product: ValuMeds Allergy Medicine (600 Tablets) Antihistamine, Diphenhydramine HCl 25 mg | Children and Adults | Relieve Itchy Eyes, Runny Nose, Sneezing
Answer: no