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 young man is standing away from the traffic', Sentence2: 'a man in a white uniform holds a bat with two other men on a baseball field'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a small boy cuddled up with a large stuffed teddy bear', Sentence2: 'a large truck with huge tires made for going through sand dunes'. Is the frequency of the word 'with' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'people on a car driving past elephants and a hippo', Sentence2: 'people gathered on the street dressed in costumes next to a rainbow sheet'. Is the frequency of the word 'people' in two sentences equal?
Example Output:
Yes