In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.

Example Input: Sentence1: 'two adult sheep surrounding a lam near a gate', Sentence2: 'a group of young boys standing behind two microphones'. Is the frequency of the word 'lam' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man holding a surfboard on top of a sandy beach', Sentence2: 'two people dressed in costume advertising while two others ride a horse'. Is the frequency of the word 'dressed' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a person carrying a surfboard on a beach', Sentence2: 'a fire hydrant that is sitting on a sidewalk'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No