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 group of giraffes in a closed in environment near a building', Sentence2: 'a boy is riding a scooter under a roof'. Is the frequency of the word 'environment' in two sentences equal?
Example Output: 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 bay with some boats docked in it', Sentence2: 'a man in a vest standing in a bathroom'. Is the frequency of the word 'it' in two sentences equal?
Example Output:
No