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 silver bucket a white and blue curtain an apple and a controller', Sentence2: 'a group of people surfing the waves on boards in the ocean'. Is the frequency of the word 'boards' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'person surfing on a large wave in the ocean', Sentence2: 'a man standing next to a baseball plate holding a bat'. Is the frequency of the word 'standing' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a woman sitting by a deep dish pizza with pepperonis', Sentence2: 'a feminine shirtless man holding a bottle of wine in the kitchen with the refrigerator open'. Is the frequency of the word 'with' in two sentences equal?
Example Output:
Yes