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 man walking in front of a grand building', Sentence2: 'a white street sign sitting on the side of a driveway'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'the motorcycle riders are attempting very difficult tricks', Sentence2: 'girl holding homemade pizza on a big oven sheet'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a female tennis player in a black top playing tennis', Sentence2: 'a group of girls with umbrellas in the sand'. Is the frequency of the word 'in' in two sentences equal?
Example Output:
Yes