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 brown horses with harnesses pulling a red carriage', Sentence2: 'a clean kitchen inside a home during the day'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a sign in front of a construction site', Sentence2: 'there is a green vase with lots of flowers'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a woman sitting on a bed talking on the phone', Sentence2: 'back view of a zebra walking through the grass'. Is the frequency of the word 'the' in two sentences equal?
Example Output:
Yes