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 tall red light house by the water and a walkway', Sentence2: 'a couple of giraffes stand next to each other'. Is the frequency of the word 'the' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a woman hitting a tennis ball with a tennis racket', Sentence2: 'a laptop is docked on a stand while another keyboard is positioned for use'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No