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 is swinging a tennis racket in the air', Sentence2: 'an elephants foot with what appears to be a sandal on'. Is the frequency of the word 'be' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a round metal pan holding a pizza crust on it', Sentence2: 'a kitchen has been organized with many appliances'. Is the frequency of the word 'with' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a photo of people riding horses down a trail', Sentence2: 'a couple of giraffes in their zoo enclosure'. Is the frequency of the word 'people' in two sentences equal?
Example Output:
No