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 men boogie boarding on a wave', Sentence2: 'these donuts have a lot of frosting on them'. Is the frequency of the word 'on' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'the polar bear is laying on the snow', Sentence2: 'a blue small plane standing at the airstrip'. Is the frequency of the word 'the' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a lot of plants and greenery with a train in the background', Sentence2: 'various pastries on display on shelves in a store'. Is the frequency of the word 'the' in two sentences equal?
Example Output:
No