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 woman sitting on a bed talking on the phone', Sentence2: 'a man standing by a table with figurines on it'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a long train moving through a wooded area', Sentence2: 'a street scene with a tow truck and a car on the back'. Is the frequency of the word 'back' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'there is a man skateboarding on the street', Sentence2: 'a man is leaning over in the snow and casting a shadow'. Is the frequency of the word 'man' in two sentences equal?
Example Output:
Yes