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 train that is passing by in the day time', Sentence2: 'a woman is opening up a wine bottle that is sitting on a table'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a flock of birds some on the ground others are perched on a park bench', Sentence2: 'people placed in a picture with bears having a picnic'. Is the frequency of the word 'perched' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a woman is checking the setting of her dinner table', Sentence2: 'a train engine is traveling down some tracks'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes