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 holding a basketball in his hands in the dark', Sentence2: 'a man stands in front of a safari jeep and a horse'. Is the frequency of the word 'man' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'batter at baseball game concentrating and getting ready to swing', Sentence2: 'a large fluffy cat sitting inside of a desk drawer'. Is the frequency of the word 'at' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a train going through town via railroad', Sentence2: 'people shaking hands across a tennis net while other couples play behind them'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes