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: 'a hand holding a book on a table with a breakfast and coffee next to it', Sentence2: 'four tennis rackets hanging from a chain link fence'. Is the frequency of the word 'from' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a childs cake on a plate with the name amelie on it', Sentence2: 'a bride and groom cut their wedding cake'. Is the frequency of the word 'with' in two sentences equal?
Example Output:
No