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 cake being cut by people in the military', Sentence2: 'a picture of a kid that is on the ground'. Is the frequency of the word 'the' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a couple of men standing next to each other on a tennis court', Sentence2: 'a kitchen counter sitting in the middle of a kitchen'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a man sitting on a couch in front of a window', Sentence2: 'a view of a bunch of sinks in a black and white photo'. Is the frequency of the word 'in' in two sentences equal?
Example Output:
Yes