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

Example Input: Sentence1: 'there is a white and beige dog sitting on the floor', Sentence2: 'a group of people and cow outside of a hut'. Is the frequency of the word 'is' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'horses pull a carriage through a quaint street', Sentence2: 'a sign is attached to a wooden pole'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a man standing next to a baseball plate holding a bat', Sentence2: 'a white street sign sitting on the side of a driveway'. Is the frequency of the word 'sitting' in two sentences equal?
Example Output:
No