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 tall red light house by the water and a walkway', Sentence2: 'these donuts have a lot of frosting on them'. Is the frequency of the word 'red' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a baby wearing a pink top is sleeping in bed with some pillows', Sentence2: 'a man sitting on top of a train traveling through a forest hillside'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'several people walking around horses in a wooded area', Sentence2: 'two baseball players warming up before a game'. Is the frequency of the word 'before' in two sentences equal?
Example Output:
No