In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.

Example Input: Sentence1: 'brown cow is looking toward the camera while the other two cow are eating grass', Sentence2: 'the polar bear is laying on the snow'. Is the frequency of the word 'polar' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a red bench sitting underneath a widow against wall', Sentence2: 'a man flying through the air on a  skateboard'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a man sitting in front of a pizza on top of a white paper', Sentence2: 'a man standing next to a baseball plate holding a bat'. Is the frequency of the word 'bat' in two sentences equal?
Example Output:
No