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 brown bull is standing in his pen and some trees', Sentence2: 'a road sign sitting next to a road and a building'. Is the frequency of the word 'and' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a train going through town via railroad', Sentence2: 'many buses have been parked in a closed parking lot'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a young boy who is eating a chocolate piece of cake', Sentence2: 'a couple sits in separate parts of the bedroom working on their laptops'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
Yes