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: milk of magnesia
Product: Phillips' Laxative Magnesium Caplets, 100 count, Stimulant & Cramp Free Constipation Relief
Answer: yes