In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer '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: 'view of a historic brick building looking toward the sky', Sentence2: 'a train engine is traveling down some tracks'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a can is sitting on top of a dog', Sentence2: 'a dog sitting on a bed in a sweater with a indifferent look'. Is the frequency of the word 'dog' in two sentences equal?
Example Output:
Yes